Diff of the two buildlogs: -- --- b1/build.log 2023-07-27 20:11:17.244612183 +0000 +++ b2/build.log 2023-07-27 20:17:06.365001262 +0000 @@ -1,8 +1,2606 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jul 27 07:50:59 -12 2023 -I: pbuilder-time-stamp: 1690487459 +I: Current time: Fri Jul 28 10:11:19 +14 2023 +I: pbuilder-time-stamp: 1690488679 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] +tar: ./bin/sh: time stamp 2024-08-09 05:47:31 is 32643371.252297022 s in the future +tar: ./build: time stamp 2024-08-09 05:47:47 is 32643387.251064075 s in the future +tar: ./dev/null: time stamp 2024-08-09 05:47:15 is 32643355.2508856 s in the future +tar: ./dev/zero: time stamp 2024-08-09 05:47:15 is 32643355.250845472 s in the future +tar: ./dev/full: time stamp 2024-08-09 05:47:15 is 32643355.250813358 s in the future +tar: ./dev/random: time stamp 2024-08-09 05:47:15 is 32643355.250777032 s in the future +tar: ./dev/urandom: time stamp 2024-08-09 05:47:15 is 32643355.250745924 s in the future +tar: ./dev/tty: time stamp 2024-08-09 05:47:15 is 32643355.250707617 s in the future +tar: ./dev/console: time stamp 2024-08-09 05:47:15 is 32643355.250678086 s in the future +tar: ./dev/pts: time stamp 2024-08-09 05:47:15 is 32643355.250638669 s in the future +tar: ./dev/ptmx: time stamp 2024-08-09 05:47:15 is 32643355.250606236 s in the future +tar: ./etc/apt/sources.list: time stamp 2024-08-09 05:48:21 is 32643421.250360645 s in the future +tar: ./etc/apt/apt.conf.d/80proxy: time stamp 2024-08-09 05:48:21 is 32643421.250313157 s in the future +tar: ./etc/apt/apt.conf.d/15pbuilder: time stamp 2024-08-09 05:47:47 is 32643387.250238035 s in the future +tar: ./etc/apt/apt.conf.d: time stamp 2024-08-09 05:48:21 is 32643421.250216194 s in the future +tar: ./etc/apt/trusted.gpg.d: time stamp 2024-08-09 05:47:29 is 32643369.249836844 s in the future +tar: ./etc/apt: time stamp 2024-08-09 05:48:21 is 32643421.249807618 s in the future +tar: ./etc/cron.daily: time stamp 2024-08-09 05:47:58 is 32643398.24971168 s in the future +tar: ./etc/kernel/postinst.d: time stamp 2024-08-09 05:47:32 is 32643372.249637773 s in the future +tar: ./etc/logrotate.d: time stamp 2024-08-09 05:47:58 is 32643398.249504025 s in the future +tar: ./etc/default: time stamp 2024-08-09 05:47:33 is 32643373.249331626 s in the future +tar: ./etc/dpkg/origins/default: time stamp 2024-08-09 05:47:15 is 32643355.249262394 s in the future +tar: ./etc/dpkg/origins: time stamp 2024-08-09 05:47:29 is 32643369.249237915 s in the future +tar: ./etc/dpkg/dpkg.cfg.d/02speedup: time stamp 2024-08-09 05:48:21 is 32643421.249176651 s in the future +tar: ./etc/dpkg/dpkg.cfg.d: time stamp 2024-08-09 05:48:21 is 32643421.249156923 s in the future +tar: ./etc/dpkg: time stamp 2024-08-09 05:47:47 is 32643387.249095366 s in the future +tar: ./etc/skel: time stamp 2024-08-09 05:47:30 is 32643370.248902001 s in the future +tar: ./etc/update-motd.d: time stamp 2024-08-09 05:47:29 is 32643369.248835059 s in the future +tar: ./etc/cron.d: time stamp 2024-08-09 05:47:30 is 32643370.247971724 s in the future +tar: ./etc/ld.so.conf.d: time stamp 2024-08-09 05:47:58 is 32643398.247371334 s in the future +tar: ./etc/security/opasswd: time stamp 2024-08-09 05:47:31 is 32643371.24698859 s in the future +tar: ./etc/security: time stamp 2024-08-09 05:47:31 is 32643371.24696391 s in the future +tar: ./etc/pam.d/common-auth: time stamp 2024-08-09 05:47:32 is 32643372.246657043 s in the future +tar: ./etc/pam.d/common-account: time stamp 2024-08-09 05:47:32 is 32643372.246620816 s in the future +tar: ./etc/pam.d/common-password: time stamp 2024-08-09 05:47:32 is 32643372.246590373 s in the future +tar: ./etc/pam.d/common-session: time stamp 2024-08-09 05:47:32 is 32643372.24654457 s in the future +tar: ./etc/pam.d/common-session-noninteractive: time stamp 2024-08-09 05:47:32 is 32643372.246510079 s in the future +tar: ./etc/pam.d: time stamp 2024-08-09 05:47:33 is 32643373.246490612 s in the future +tar: ./etc/selinux: time stamp 2024-08-09 05:47:29 is 32643369.246440189 s in the future +tar: ./etc/terminfo: time stamp 2024-08-09 05:47:29 is 32643369.246329613 s in the future +tar: ./etc/init.d: time stamp 2024-08-09 05:47:33 is 32643373.246270784 s in the future +tar: ./etc/fstab: time stamp 2024-08-09 05:47:15 is 32643355.246232955 s in the future +tar: ./etc/opt: time stamp 2024-08-09 05:47:16 is 32643356.24617056 s in the future +tar: ./etc/timezone: time stamp 2024-08-09 05:47:31 is 32643371.246107147 s in the future +tar: ./etc/shells: time stamp 2024-08-09 05:47:31 is 32643371.246076432 s in the future +tar: ./etc/environment: time stamp 2024-08-09 05:47:32 is 32643372.246039115 s in the future +tar: ./etc/.pwd.lock: time stamp 2024-08-09 05:47:32 is 32643372.246019387 s in the future +tar: ./etc/passwd-: time stamp 2024-08-09 05:47:32 is 32643372.2459932 s in the future +tar: ./etc/gshadow: time stamp 2024-08-09 05:47:32 is 32643372.245931857 s in the future +tar: ./etc/group-: time stamp 2024-08-09 05:47:15 is 32643355.245886749 s in the future +tar: ./etc/group: time stamp 2024-08-09 05:47:32 is 32643372.245854876 s in the future +tar: ./etc/subuid: time stamp 2024-08-09 05:47:32 is 32643372.245830158 s in the future +tar: ./etc/subgid: time stamp 2024-08-09 05:47:32 is 32643372.245810287 s in the future +tar: ./etc/adduser.conf: time stamp 2024-08-09 05:47:32 is 32643372.245785446 s in the future +tar: ./etc/shadow-: time stamp 2024-08-09 05:47:32 is 32643372.24572511 s in the future +tar: ./etc/passwd: time stamp 2024-08-09 05:47:32 is 32643372.245674265 s in the future +tar: ./etc/shadow: time stamp 2024-08-09 05:47:32 is 32643372.245623442 s in the future +tar: ./etc/perl/Net: time stamp 2024-08-09 05:47:47 is 32643387.245554525 s in the future +tar: ./etc/perl: time stamp 2024-08-09 05:47:46 is 32643386.245527651 s in the future +tar: ./etc/ld.so.cache: time stamp 2024-08-09 05:47:58 is 32643398.245452748 s in the future +tar: ./lib/systemd/system: time stamp 2024-08-09 05:47:29 is 32643369.245123273 s in the future +tar: ./lib/udev/rules.d: time stamp 2024-08-09 05:47:20 is 32643360.245040533 s in the future +tar: ./lib/x86_64-linux-gnu/security: time stamp 2024-08-09 05:47:25 is 32643365.239171393 s in the future +tar: ./lib/x86_64-linux-gnu: time stamp 2024-08-09 05:47:53 is 32643393.161395222 s in the future +tar: ./lib/lsb/init-functions.d: time stamp 2024-08-09 05:47:27 is 32643367.161297856 s in the future +tar: ./lib/lsb: time stamp 2024-08-09 05:47:27 is 32643367.161239541 s in the future +tar: ./lib/terminfo/E: time stamp 2024-08-09 05:47:27 is 32643367.161146541 s in the future +tar: ./lib/terminfo/a: time stamp 2024-08-09 05:47:27 is 32643367.161088481 s in the future +tar: ./lib/terminfo/c: time stamp 2024-08-09 05:47:27 is 32643367.16097157 s in the future +tar: ./lib/terminfo/d: time stamp 2024-08-09 05:47:27 is 32643367.160915951 s in the future +tar: ./lib/terminfo/h: time stamp 2024-08-09 05:47:27 is 32643367.160860708 s in the future +tar: ./lib/terminfo/l: time stamp 2024-08-09 05:47:27 is 32643367.160804127 s in the future +tar: ./lib/terminfo/m: time stamp 2024-08-09 05:47:27 is 32643367.160661557 s in the future +tar: ./lib/terminfo/p: time stamp 2024-08-09 05:47:27 is 32643367.160605417 s in the future +tar: ./lib/terminfo/r: time stamp 2024-08-09 05:47:27 is 32643367.160443411 s in the future +tar: ./lib/terminfo/s: time stamp 2024-08-09 05:47:27 is 32643367.160233335 s in the future +tar: ./lib/terminfo/t: time stamp 2024-08-09 05:47:27 is 32643367.160142405 s in the future +tar: ./lib/terminfo/v: time stamp 2024-08-09 05:47:27 is 32643367.160027094 s in the future +tar: ./lib/terminfo/w: time stamp 2024-08-09 05:47:27 is 32643367.159940839 s in the future +tar: ./lib/terminfo/x: time stamp 2024-08-09 05:47:27 is 32643367.159668585 s in the future +tar: ./lib/init: time stamp 2024-08-09 05:47:28 is 32643368.159543172 s in the future +tar: ./media: time stamp 2024-08-09 05:47:16 is 32643356.159486724 s in the future +tar: ./mnt: time stamp 2024-08-09 05:47:15 is 32643355.159436107 s in the future +tar: ./opt: time stamp 2024-08-09 05:47:16 is 32643356.159370202 s in the future +tar: ./root: time stamp 2024-08-09 05:47:15 is 32643355.159271302 s in the future +tar: ./run/mount: time stamp 2024-08-09 05:47:15 is 32643355.159224898 s in the future +tar: ./run/lock: time stamp 2024-08-09 05:47:16 is 32643356.159124086 s in the future +tar: ./run/utmp: time stamp 2024-08-09 05:47:16 is 32643356.159090283 s in the future +tar: ./sbin: time stamp 2024-08-09 05:47:53 is 32643393.121679125 s in the future +tar: ./srv: time stamp 2024-08-09 05:47:16 is 32643356.121611672 s in the future +tar: ./usr/sbin/policy-rc.d: time stamp 2024-08-09 05:47:48 is 32643388.101615508 s in the future +tar: ./usr/share/adduser: time stamp 2024-08-09 05:47:18 is 32643358.10153224 s in the future +tar: ./usr/share/doc/adduser/examples/adduser.local.conf.examples/skel: time stamp 2024-08-09 05:47:18 is 32643358.101371462 s in the future +tar: ./usr/share/doc/adduser/examples/adduser.local.conf.examples/skel.other: time stamp 2024-08-09 05:47:18 is 32643358.101307816 s in the future +tar: ./usr/share/doc/adduser/examples/adduser.local.conf.examples: time stamp 2024-08-09 05:47:18 is 32643358.101204116 s in the future +tar: ./usr/share/doc/adduser/examples: time stamp 2024-08-09 05:47:18 is 32643358.100995064 s in the future +tar: ./usr/share/doc/adduser: time stamp 2024-08-09 05:47:18 is 32643358.100771702 s in the future +tar: ./usr/share/doc/apt/examples: time stamp 2024-08-09 05:47:18 is 32643358.100534595 s in the future +tar: ./usr/share/doc/apt: time stamp 2024-08-09 05:47:18 is 32643358.099301988 s in the future +tar: ./usr/share/doc/base-files: time stamp 2024-08-09 05:47:19 is 32643359.099037554 s in the future +tar: ./usr/share/doc/base-passwd: time stamp 2024-08-09 05:47:19 is 32643359.098758678 s in the future +tar: ./usr/share/doc/bash: time stamp 2024-08-09 05:47:19 is 32643359.096116348 s in the future +tar: ./usr/share/doc/bsdutils: time stamp 2024-08-09 05:47:19 is 32643359.095507851 s in the future +tar: ./usr/share/doc/coreutils: time stamp 2024-08-09 05:47:19 is 32643359.093521956 s in the future +tar: ./usr/share/doc/dash: time stamp 2024-08-09 05:47:19 is 32643359.092907337 s in the future +tar: ./usr/share/doc/debconf: time stamp 2024-08-09 05:47:20 is 32643360.092657107 s in the future +tar: ./usr/share/doc/debian-archive-keyring: time stamp 2024-08-09 05:47:20 is 32643360.092546291 s in the future +tar: ./usr/share/doc/debianutils: time stamp 2024-08-09 05:47:20 is 32643360.092388375 s in the future +tar: ./usr/share/doc/diffutils: time stamp 2024-08-09 05:47:20 is 32643360.092075534 s in the future +tar: ./usr/share/doc/dpkg: time stamp 2024-08-09 05:47:37 is 32643377.082999503 s in the future +tar: ./usr/share/doc/e2fsprogs: time stamp 2024-08-09 05:47:20 is 32643360.081696755 s in the future +tar: ./usr/share/doc/findutils: time stamp 2024-08-09 05:47:20 is 32643360.079796986 s in the future +tar: ./usr/share/doc/gcc-10-base/C++: time stamp 2024-08-09 05:47:45 is 32643385.073611363 s in the future +tar: ./usr/share/doc/gcc-10-base/gcc: time stamp 2024-08-09 05:47:41 is 32643381.072435167 s in the future +tar: ./usr/share/doc/gcc-10-base/gomp: time stamp 2024-08-09 05:47:41 is 32643381.07162558 s in the future +tar: ./usr/share/doc/gcc-10-base/itm: time stamp 2024-08-09 05:47:41 is 32643381.071329603 s in the future +tar: ./usr/share/doc/gcc-10-base/quadmath: time stamp 2024-08-09 05:47:41 is 32643381.071254814 s in the future +tar: ./usr/share/doc/gcc-10-base/sanitizer: time stamp 2024-08-09 05:47:41 is 32643381.071012286 s in the future +tar: ./usr/share/doc/gcc-10-base: time stamp 2024-08-09 05:47:41 is 32643381.069409935 s in the future +tar: ./usr/share/doc/gcc-9-base: time stamp 2024-08-09 05:47:21 is 32643361.067484943 s in the future +tar: ./usr/share/doc/gpgv: time stamp 2024-08-09 05:47:21 is 32643361.064401608 s in the future +tar: ./usr/share/doc/grep: time stamp 2024-08-09 05:47:21 is 32643361.062897189 s in the future +tar: ./usr/share/doc/gzip: time stamp 2024-08-09 05:47:21 is 32643361.06238923 s in the future +tar: ./usr/share/doc/hostname: time stamp 2024-08-09 05:47:21 is 32643361.062296196 s in the future +tar: ./usr/share/doc/init-system-helpers: time stamp 2024-08-09 05:47:21 is 32643361.062094764 s in the future +tar: ./usr/share/doc/libacl1: time stamp 2024-08-09 05:47:21 is 32643361.061912537 s in the future +tar: ./usr/share/doc/libapt-pkg6.0: time stamp 2024-08-09 05:47:21 is 32643361.060615979 s in the future +tar: ./usr/share/doc/libattr1: time stamp 2024-08-09 05:47:21 is 32643361.060489476 s in the future +tar: ./usr/share/doc/libaudit-common: time stamp 2024-08-09 05:47:21 is 32643361.060373729 s in the future +tar: ./usr/share/doc/libaudit1: time stamp 2024-08-09 05:47:21 is 32643361.060240225 s in the future +tar: ./usr/share/doc/libblkid1: time stamp 2024-08-09 05:47:21 is 32643361.059706659 s in the future +tar: ./usr/share/doc/libbz2-1.0: time stamp 2024-08-09 05:47:21 is 32643361.059483202 s in the future +tar: ./usr/share/doc/libc-bin: time stamp 2024-08-09 05:47:22 is 32643362.057760856 s in the future +tar: ./usr/share/doc/libc6: time stamp 2024-08-09 05:47:22 is 32643362.05524174 s in the future +tar: ./usr/share/doc/libcap-ng0: time stamp 2024-08-09 05:47:22 is 32643362.055097706 s in the future +tar: ./usr/share/doc/libcom-err2: time stamp 2024-08-09 05:47:23 is 32643363.05470911 s in the future +tar: ./usr/share/doc/libcrypt1: time stamp 2024-08-09 05:47:42 is 32643382.054409734 s in the future +tar: ./usr/share/doc/libdb5.3: time stamp 2024-08-09 05:47:23 is 32643363.054155092 s in the future +tar: ./usr/share/doc/libdebconfclient0: time stamp 2024-08-09 05:47:23 is 32643363.053908067 s in the future +tar: ./usr/share/doc/libext2fs2: time stamp 2024-08-09 05:47:23 is 32643363.053438114 s in the future +tar: ./usr/share/doc/libffi7: time stamp 2024-08-09 05:47:23 is 32643363.053181752 s in the future +tar: ./usr/share/doc/libgcrypt20: time stamp 2024-08-09 05:47:23 is 32643363.05164626 s in the future +tar: ./usr/share/doc/libgmp10: time stamp 2024-08-09 05:47:23 is 32643363.049314419 s in the future +tar: ./usr/share/doc/libgnutls30: time stamp 2024-08-09 05:47:23 is 32643363.045540146 s in the future +tar: ./usr/share/doc/libgpg-error0: time stamp 2024-08-09 05:47:23 is 32643363.045249556 s in the future +tar: ./usr/share/doc/libgssapi-krb5-2: time stamp 2024-08-09 05:47:23 is 32643363.044646206 s in the future +tar: ./usr/share/doc/libhogweed6: time stamp 2024-08-09 05:47:23 is 32643363.043413002 s in the future +tar: ./usr/share/doc/libidn2-0: time stamp 2024-08-09 05:47:24 is 32643364.043131843 s in the future +tar: ./usr/share/doc/libk5crypto3: time stamp 2024-08-09 05:47:24 is 32643364.04246276 s in the future +tar: ./usr/share/doc/libkeyutils1: time stamp 2024-08-09 05:47:24 is 32643364.042371791 s in the future +tar: ./usr/share/doc/libkrb5-3: time stamp 2024-08-09 05:47:24 is 32643364.041810137 s in the future +tar: ./usr/share/doc/libkrb5support0: time stamp 2024-08-09 05:47:24 is 32643364.041192555 s in the future +tar: ./usr/share/doc/liblz4-1: time stamp 2024-08-09 05:47:24 is 32643364.040977149 s in the future +tar: ./usr/share/doc/liblzma5: time stamp 2024-08-09 05:47:24 is 32643364.040092492 s in the future +tar: ./usr/share/doc/libmount1: time stamp 2024-08-09 05:47:24 is 32643364.039372102 s in the future +tar: ./usr/share/doc/libnettle8: time stamp 2024-08-09 05:47:24 is 32643364.038263257 s in the future +tar: ./usr/share/doc/libnsl2: time stamp 2024-08-09 05:47:24 is 32643364.037932495 s in the future +tar: ./usr/share/doc/libp11-kit0/examples: time stamp 2024-08-09 05:47:24 is 32643364.037863667 s in the future +tar: ./usr/share/doc/libp11-kit0: time stamp 2024-08-09 05:47:24 is 32643364.036945318 s in the future +tar: ./usr/share/doc/libpam-modules/examples: time stamp 2024-08-09 05:47:25 is 32643365.03672829 s in the future +tar: ./usr/share/doc/libpam-modules: time stamp 2024-08-09 05:47:25 is 32643365.036190877 s in the future +tar: ./usr/share/doc/libpam-modules-bin: time stamp 2024-08-09 05:47:25 is 32643365.035429552 s in the future +tar: ./usr/share/doc/libpam-runtime: time stamp 2024-08-09 05:47:25 is 32643365.034864477 s in the future +tar: ./usr/share/doc/libpam0g: time stamp 2024-08-09 05:47:25 is 32643365.034177454 s in the future +tar: ./usr/share/doc/libpcre2-8-0: time stamp 2024-08-09 05:47:25 is 32643365.033660622 s in the future +tar: ./usr/share/doc/libpcre3: time stamp 2024-08-09 05:47:25 is 32643365.032616409 s in the future +tar: ./usr/share/doc/libseccomp2: time stamp 2024-08-09 05:47:25 is 32643365.032511016 s in the future +tar: ./usr/share/doc/libselinux1: time stamp 2024-08-09 05:47:25 is 32643365.032393149 s in the future +tar: ./usr/share/doc/libsemanage-common: time stamp 2024-08-09 05:47:25 is 32643365.032292511 s in the future +tar: ./usr/share/doc/libsemanage1: time stamp 2024-08-09 05:47:25 is 32643365.032170721 s in the future +tar: ./usr/share/doc/libsepol1: time stamp 2024-08-09 05:47:25 is 32643365.032065427 s in the future +tar: ./usr/share/doc/libsmartcols1: time stamp 2024-08-09 05:47:25 is 32643365.031450818 s in the future +tar: ./usr/share/doc/libss2: time stamp 2024-08-09 05:47:25 is 32643365.030922595 s in the future +tar: ./usr/share/doc/libssl1.1: time stamp 2024-08-09 05:47:26 is 32643366.02905133 s in the future +tar: ./usr/share/doc/libsystemd0: time stamp 2024-08-09 05:47:26 is 32643366.028322611 s in the future +tar: ./usr/share/doc/libtasn1-6: time stamp 2024-08-09 05:47:26 is 32643366.028067707 s in the future +tar: ./usr/share/doc/libtinfo6: time stamp 2024-08-09 05:47:26 is 32643366.026178942 s in the future +tar: ./usr/share/doc/libtirpc-common: time stamp 2024-08-09 05:47:26 is 32643366.026030743 s in the future +tar: ./usr/share/doc/libtirpc3: time stamp 2024-08-09 05:47:26 is 32643366.025832037 s in the future +tar: ./usr/share/doc/libudev1: time stamp 2024-08-09 05:47:26 is 32643366.02509432 s in the future +tar: ./usr/share/doc/libunistring2: time stamp 2024-08-09 05:47:26 is 32643366.02479554 s in the future +tar: ./usr/share/doc/libuuid1: time stamp 2024-08-09 05:47:26 is 32643366.024103604 s in the future +tar: ./usr/share/doc/libxxhash0: time stamp 2024-08-09 05:47:26 is 32643366.023993206 s in the future +tar: ./usr/share/doc/libzstd1: time stamp 2024-08-09 05:47:26 is 32643366.023849538 s in the future +tar: ./usr/share/doc/login: time stamp 2024-08-09 05:47:27 is 32643367.022391387 s in the future +tar: ./usr/share/doc/logsave: time stamp 2024-08-09 05:47:27 is 32643367.021908305 s in the future +tar: ./usr/share/doc/lsb-base: time stamp 2024-08-09 05:47:27 is 32643367.021657143 s in the future +tar: ./usr/share/doc/mawk/examples: time stamp 2024-08-09 05:47:27 is 32643367.021370807 s in the future +tar: ./usr/share/doc/mawk: time stamp 2024-08-09 05:47:27 is 32643367.021177562 s in the future +tar: ./usr/share/doc/mount/examples: time stamp 2024-08-09 05:47:27 is 32643367.021090105 s in the future +tar: ./usr/share/doc/mount: time stamp 2024-08-09 05:47:27 is 32643367.020506114 s in the future +tar: ./usr/share/doc/ncurses-base: time stamp 2024-08-09 05:47:27 is 32643367.018554842 s in the future +tar: ./usr/share/doc/ncurses-bin: time stamp 2024-08-09 05:47:27 is 32643367.016687271 s in the future +tar: ./usr/share/doc/passwd/examples: time stamp 2024-08-09 05:47:27 is 32643367.01661341 s in the future +tar: ./usr/share/doc/passwd: time stamp 2024-08-09 05:47:27 is 32643367.015224356 s in the future +tar: ./usr/share/doc/perl: time stamp 2024-08-09 05:47:46 is 32643386.013500553 s in the future +tar: ./usr/share/doc/perl-base: time stamp 2024-08-09 05:47:28 is 32643368.012360746 s in the future +tar: ./usr/share/doc/sed/examples: time stamp 2024-08-09 05:47:28 is 32643368.012272948 s in the future +tar: ./usr/share/doc/sed: time stamp 2024-08-09 05:47:28 is 32643368.011328113 s in the future +tar: ./usr/share/doc/sysvinit-utils: time stamp 2024-08-09 05:47:28 is 32643368.011219057 s in the future +tar: ./usr/share/doc/tar: time stamp 2024-08-09 05:47:28 is 32643368.009008348 s in the future +tar: ./usr/share/doc/tzdata: time stamp 2024-08-09 05:47:28 is 32643368.008516343 s in the future +tar: ./usr/share/doc/util-linux/examples: time stamp 2024-08-09 05:47:29 is 32643369.008163805 s in the future +tar: ./usr/share/doc/util-linux/releases: time stamp 2024-08-09 05:47:29 is 32643369.006034411 s in the future +tar: ./usr/share/doc/util-linux: time stamp 2024-08-09 05:47:29 is 32643369.004556705 s in the future +tar: ./usr/share/doc/zlib1g: time stamp 2024-08-09 05:47:29 is 32643369.004291009 s in the future +tar: ./usr/share/doc/binutils/bfd: time stamp 2024-08-09 05:47:35 is 32643375.003443163 s in the future +tar: ./usr/share/doc/binutils/gas: time stamp 2024-08-09 05:47:35 is 32643375.003111308 s in the future +tar: ./usr/share/doc/binutils/gprof: time stamp 2024-08-09 05:47:35 is 32643375.002941308 s in the future +tar: ./usr/share/doc/binutils/ld: time stamp 2024-08-09 05:47:35 is 32643375.002797587 s in the future +tar: ./usr/share/doc/binutils: time stamp 2024-08-09 05:47:35 is 32643375.002424535 s in the future +tar: ./usr/share/doc/binutils-common: time stamp 2024-08-09 05:47:35 is 32643375.001922806 s in the future +tar: ./usr/share/doc/bzip2: time stamp 2024-08-09 05:47:35 is 32643375.001548166 s in the future +tar: ./usr/share/doc/dpkg-dev: time stamp 2024-08-09 05:47:37 is 32643376.992809321 s in the future +tar: ./usr/share/doc/libc-dev-bin: time stamp 2024-08-09 05:47:41 is 32643380.990985598 s in the future +tar: ./usr/share/doc/libc6-dev: time stamp 2024-08-09 05:47:42 is 32643381.989273233 s in the future +tar: ./usr/share/doc/libctf-nobfd0: time stamp 2024-08-09 05:47:42 is 32643381.988816216 s in the future +tar: ./usr/share/doc/libdpkg-perl: time stamp 2024-08-09 05:47:42 is 32643381.980124978 s in the future +tar: ./usr/share/doc/libgdbm-compat4: time stamp 2024-08-09 05:47:43 is 32643382.979894209 s in the future +tar: ./usr/share/doc/libgdbm6: time stamp 2024-08-09 05:47:43 is 32643382.979612702 s in the future +tar: ./usr/share/doc/libisl23: time stamp 2024-08-09 05:47:43 is 32643382.979365297 s in the future +tar: ./usr/share/doc/libmpc3: time stamp 2024-08-09 05:47:43 is 32643382.979244546 s in the future +tar: ./usr/share/doc/libmpfr6: time stamp 2024-08-09 05:47:43 is 32643382.974505151 s in the future +tar: ./usr/share/doc/libnsl-dev: time stamp 2024-08-09 05:47:43 is 32643382.974353253 s in the future +tar: ./usr/share/doc/libperl5.32: time stamp 2024-08-09 05:47:44 is 32643383.973186755 s in the future +tar: ./usr/share/doc/libtirpc-dev: time stamp 2024-08-09 05:47:45 is 32643384.972969228 s in the future +tar: ./usr/share/doc/linux-libc-dev: time stamp 2024-08-09 05:47:46 is 32643385.968842045 s in the future +tar: ./usr/share/doc/make: time stamp 2024-08-09 05:47:46 is 32643385.96769588 s in the future +tar: ./usr/share/doc/patch: time stamp 2024-08-09 05:47:46 is 32643385.967443237 s in the future +tar: ./usr/share/doc/perl-modules-5.32: time stamp 2024-08-09 05:47:47 is 32643386.966322718 s in the future +tar: ./usr/share/doc/xz-utils/extra/7z2lzma: time stamp 2024-08-09 05:47:47 is 32643386.966230714 s in the future +tar: ./usr/share/doc/xz-utils/extra/scanlzma: time stamp 2024-08-09 05:47:47 is 32643386.966032424 s in the future +tar: ./usr/share/doc/xz-utils/extra: time stamp 2024-08-09 05:47:47 is 32643386.966001546 s in the future +tar: ./usr/share/doc/xz-utils: time stamp 2024-08-09 05:47:47 is 32643386.965132828 s in the future +tar: ./usr/share/doc/libc-l10n: time stamp 2024-08-09 05:47:52 is 32643391.963371399 s in the future +tar: ./usr/share/doc/aptitude-common: time stamp 2024-08-09 05:47:53 is 32643392.96235462 s in the future +tar: ./usr/share/doc/libboost-iostreams1.74.0: time stamp 2024-08-09 05:47:53 is 32643392.951354686 s in the future +tar: ./usr/share/doc/libsigc++-2.0-0v5: time stamp 2024-08-09 05:47:53 is 32643392.951151149 s in the future +tar: ./usr/share/doc/libcwidget4: time stamp 2024-08-09 05:47:53 is 32643392.951019525 s in the future +tar: ./usr/share/doc/libsqlite3-0: time stamp 2024-08-09 05:47:53 is 32643392.949595315 s in the future +tar: ./usr/share/doc/libxapian30: time stamp 2024-08-09 05:47:53 is 32643392.94631594 s in the future +tar: ./usr/share/doc/libfuse2: time stamp 2024-08-09 05:47:53 is 32643392.945724707 s in the future +tar: ./usr/share/doc/fuse: time stamp 2024-08-09 05:47:53 is 32643392.945506891 s in the future +tar: ./usr/share/doc/disorderfs: time stamp 2024-08-09 05:47:53 is 32643392.945290307 s in the future +tar: ./usr/share/doc/libfakeroot: time stamp 2024-08-09 05:47:54 is 32643393.945037174 s in the future +tar: ./usr/share/doc/fakeroot: time stamp 2024-08-09 05:47:54 is 32643393.944790231 s in the future +tar: ./usr/share/doc/locales-all: time stamp 2024-08-09 05:47:58 is 32643397.943081045 s in the future +tar: ./usr/share/locale/ca/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.930897773 s in the future +tar: ./usr/share/locale/cs/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.918345359 s in the future +tar: ./usr/share/locale/da/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.905349079 s in the future +tar: ./usr/share/locale/de/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.89158763 s in the future +tar: ./usr/share/locale/es/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.871626161 s in the future +tar: ./usr/share/locale/eu/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.868000516 s in the future +tar: ./usr/share/locale/fr/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.844861914 s in the future +tar: ./usr/share/locale/hu/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.836301579 s in the future +tar: ./usr/share/locale/it/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.824779388 s in the future +tar: ./usr/share/locale/ja/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.812061202 s in the future +tar: ./usr/share/locale/ko/LC_MESSAGES: time stamp 2024-08-09 05:47:52 is 32643391.80746214 s in the future +tar: ./usr/share/locale/nb/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.798547504 s in the future +tar: ./usr/share/locale/nl/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.786097775 s in the future +tar: ./usr/share/locale/pl/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.77415606 s in the future +tar: ./usr/share/locale/pt/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.75968745 s in the future +tar: ./usr/share/locale/pt_BR/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.74739572 s in the future +tar: ./usr/share/locale/ru/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.722835747 s in the future +tar: ./usr/share/locale/sk/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.715484965 s in the future +tar: ./usr/share/locale/sv/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.693363466 s in the future +tar: ./usr/share/locale/uk/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.669424294 s in the future +tar: ./usr/share/locale/vi/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.653738306 s in the future +tar: ./usr/share/locale/zh_CN/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.640486306 s in the future +tar: ./usr/share/locale/ar/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.639658046 s in the future +tar: ./usr/share/locale/ast/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.637419505 s in the future +tar: ./usr/share/locale/bg/LC_MESSAGES: time stamp 2024-08-09 05:47:52 is 32643391.625979028 s in the future +tar: ./usr/share/locale/bs/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.62557971 s in the future +tar: ./usr/share/locale/cy/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.625398973 s in the future +tar: ./usr/share/locale/dz/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.623272159 s in the future +tar: ./usr/share/locale/el/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.617826264 s in the future +tar: ./usr/share/locale/fi/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.603791586 s in the future +tar: ./usr/share/locale/gl/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.599512006 s in the future +tar: ./usr/share/locale/km/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.597191943 s in the future +tar: ./usr/share/locale/ku/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.596975226 s in the future +tar: ./usr/share/locale/lt/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.594674672 s in the future +tar: ./usr/share/locale/mr/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.592870112 s in the future +tar: ./usr/share/locale/ne/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.590742572 s in the future +tar: ./usr/share/locale/nn/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.58958812 s in the future +tar: ./usr/share/locale/ro/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.585069576 s in the future +tar: ./usr/share/locale/sl/LC_MESSAGES: time stamp 2024-08-09 05:47:52 is 32643391.579752911 s in the future +tar: ./usr/share/locale/th/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.577607197 s in the future +tar: ./usr/share/locale/tl/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.576520972 s in the future +tar: ./usr/share/locale/tr/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.564296301 s in the future +tar: ./usr/share/locale/zh_TW/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.553128849 s in the future +tar: ./usr/share/locale/af/LC_MESSAGES: time stamp 2024-08-09 05:47:28 is 32643367.552625529 s in the future +tar: ./usr/share/locale/en@boldquot/LC_MESSAGES: time stamp 2024-08-09 05:47:19 is 32643358.551358657 s in the future +tar: ./usr/share/locale/en@quot/LC_MESSAGES: time stamp 2024-08-09 05:47:19 is 32643358.550070138 s in the future +tar: ./usr/share/locale/eo/LC_MESSAGES: time stamp 2024-08-09 05:47:52 is 32643391.543936669 s in the future +tar: ./usr/share/locale/et/LC_MESSAGES: time stamp 2024-08-09 05:47:28 is 32643367.539782217 s in the future +tar: ./usr/share/locale/ga/LC_MESSAGES: time stamp 2024-08-09 05:47:46 is 32643385.535290763 s in the future +tar: ./usr/share/locale/hr/LC_MESSAGES: time stamp 2024-08-09 05:47:53 is 32643392.52618066 s in the future +tar: ./usr/share/locale/id/LC_MESSAGES: time stamp 2024-08-09 05:47:52 is 32643391.513956732 s in the future +tar: ./usr/share/locale/sr/LC_MESSAGES: time stamp 2024-08-09 05:47:46 is 32643385.500013863 s in the future +tar: ./usr/share/locale/be/LC_MESSAGES: time stamp 2024-08-09 05:47:52 is 32643391.498666517 s in the future +tar: ./usr/share/locale/ia/LC_MESSAGES: time stamp 2024-08-09 05:47:52 is 32643391.498089588 s in the future +tar: ./usr/share/locale/kk/LC_MESSAGES: time stamp 2024-08-09 05:47:27 is 32643366.497056977 s in the future +tar: ./usr/share/locale/lg/LC_MESSAGES: time stamp 2024-08-09 05:47:20 is 32643359.495526665 s in the future +tar: ./usr/share/locale/ms/LC_MESSAGES: time stamp 2024-08-09 05:47:35 is 32643374.494677919 s in the future +tar: ./usr/share/locale/he/LC_MESSAGES: time stamp 2024-08-09 05:47:46 is 32643385.494396963 s in the future +tar: ./usr/share/locale/lv/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.494157111 s in the future +tar: ./usr/share/locale/pa/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.493888382 s in the future +tar: ./usr/share/locale/ky/LC_MESSAGES: time stamp 2024-08-09 05:47:28 is 32643367.493438258 s in the future +tar: ./usr/share/locale/fur/LC_MESSAGES: time stamp 2024-08-09 05:47:24 is 32643363.493342279 s in the future +tar: ./usr/share/locale/am/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.493238326 s in the future +tar: ./usr/share/locale/as/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.493105729 s in the future +tar: ./usr/share/locale/az/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.493015791 s in the future +tar: ./usr/share/locale/bn/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.492880433 s in the future +tar: ./usr/share/locale/bn_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.492769037 s in the future +tar: ./usr/share/locale/de_CH/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.492663115 s in the future +tar: ./usr/share/locale/fa/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.492531448 s in the future +tar: ./usr/share/locale/gu/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.492405686 s in the future +tar: ./usr/share/locale/hi/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.492288753 s in the future +tar: ./usr/share/locale/is/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.492184936 s in the future +tar: ./usr/share/locale/ka/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.492093837 s in the future +tar: ./usr/share/locale/kn/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.491969137 s in the future +tar: ./usr/share/locale/kw_GB/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.491874573 s in the future +tar: ./usr/share/locale/mk/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.491782234 s in the future +tar: ./usr/share/locale/ml/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.491651953 s in the future +tar: ./usr/share/locale/mn/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.491559705 s in the future +tar: ./usr/share/locale/my/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.491460694 s in the future +tar: ./usr/share/locale/or/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.4913208 s in the future +tar: ./usr/share/locale/si/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.491206167 s in the future +tar: ./usr/share/locale/sq/LC_MESSAGES: time stamp 2024-08-09 05:47:27 is 32643366.49103977 s in the future +tar: ./usr/share/locale/sr@latin/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.490924042 s in the future +tar: ./usr/share/locale/ta/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.490807159 s in the future +tar: ./usr/share/locale/te/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.490681435 s in the future +tar: ./usr/share/locale/tg/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.490593167 s in the future +tar: ./usr/share/locale/ur/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.490489839 s in the future +tar: ./usr/share/locale/yo/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.490367501 s in the future +tar: ./usr/share/locale/zh_HK/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.49027302 s in the future +tar: ./usr/share/locale/zu/LC_MESSAGES: time stamp 2024-08-09 05:47:25 is 32643364.490167009 s in the future +tar: ./usr/share/locale/rw/LC_MESSAGES: time stamp 2024-08-09 05:47:52 is 32643391.489978337 s in the future +tar: ./usr/share/locale/rw: time stamp 2024-08-09 05:47:35 is 32643374.489948514 s in the future +tar: ./usr/share/locale/en_GB/LC_MESSAGES: time stamp 2024-08-09 05:47:52 is 32643391.489859934 s in the future +tar: ./usr/share/locale/en_GB: time stamp 2024-08-09 05:47:52 is 32643391.489818896 s in the future +tar: ./usr/share/man/da/man5: time stamp 2024-08-09 05:47:27 is 32643366.489667723 s in the future +tar: ./usr/share/man/da/man8: time stamp 2024-08-09 05:47:27 is 32643366.489400243 s in the future +tar: ./usr/share/man/da/man1: time stamp 2024-08-09 05:47:27 is 32643366.489249097 s in the future +tar: ./usr/share/man/da: time stamp 2024-08-09 05:47:13 is 32643352.489218728 s in the future +tar: ./usr/share/man/de/man5: time stamp 2024-08-09 05:47:37 is 32643376.488043927 s in the future +tar: ./usr/share/man/de/man1: time stamp 2024-08-09 05:47:54 is 32643393.484865786 s in the future +tar: ./usr/share/man/de/man7: time stamp 2024-08-09 05:47:37 is 32643376.484758975 s in the future +tar: ./usr/share/man/es/man5: time stamp 2024-08-09 05:47:37 is 32643376.484556673 s in the future +tar: ./usr/share/man/fr/man5: time stamp 2024-08-09 05:47:37 is 32643376.48282112 s in the future +tar: ./usr/share/man/fr/man7: time stamp 2024-08-09 05:47:37 is 32643376.479758332 s in the future +tar: ./usr/share/man/it/man5: time stamp 2024-08-09 05:47:37 is 32643376.479240839 s in the future +tar: ./usr/share/man/it/man1: time stamp 2024-08-09 05:47:53 is 32643392.477651914 s in the future +tar: ./usr/share/man/man5: time stamp 2024-08-09 05:47:42 is 32643381.475456164 s in the future +tar: ./usr/share/man/pl/man5: time stamp 2024-08-09 05:47:37 is 32643376.470747546 s in the future +tar: ./usr/share/man/pl/man1: time stamp 2024-08-09 05:47:37 is 32643376.469805766 s in the future +tar: ./usr/share/man/pt/man5: time stamp 2024-08-09 05:47:37 is 32643376.468732247 s in the future +tar: ./usr/share/man/pt/man8: time stamp 2024-08-09 05:47:20 is 32643359.468247644 s in the future +tar: ./usr/share/man/pt/man1: time stamp 2024-08-09 05:47:54 is 32643393.466572697 s in the future +tar: ./usr/share/man/pt/man7: time stamp 2024-08-09 05:47:37 is 32643376.466473149 s in the future +tar: ./usr/share/man/pt: time stamp 2024-08-09 05:47:07 is 32643346.46643705 s in the future +tar: ./usr/share/man/ru/man5: time stamp 2024-08-09 05:47:27 is 32643366.466165503 s in the future +tar: ./usr/share/man/ru/man8: time stamp 2024-08-09 05:47:53 is 32643392.465450908 s in the future +tar: ./usr/share/man/ru/man1: time stamp 2024-08-09 05:47:53 is 32643392.465119986 s in the future +tar: ./usr/share/man/ru: time stamp 2024-08-09 05:47:13 is 32643352.465088428 s in the future +tar: ./usr/share/man/sv/man5: time stamp 2024-08-09 05:47:37 is 32643376.464307846 s in the future +tar: ./usr/share/man/sv/man8: time stamp 2024-08-09 05:47:27 is 32643366.463834116 s in the future +tar: ./usr/share/man/sv/man7: time stamp 2024-08-09 05:47:37 is 32643376.462421867 s in the future +tar: ./usr/share/man/ja/man5: time stamp 2024-08-09 05:47:37 is 32643376.461899651 s in the future +tar: ./usr/share/man/ja/man1: time stamp 2024-08-09 05:47:37 is 32643376.460548922 s in the future +tar: ./usr/share/man/man1/sh.1.gz: time stamp 2024-08-09 05:47:31 is 32643370.453752666 s in the future +tar: ./usr/share/man/nl/man1: time stamp 2024-08-09 05:47:54 is 32643393.447674958 s in the future +tar: ./usr/share/man/nl/man5: time stamp 2024-08-09 05:47:37 is 32643376.446560884 s in the future +tar: ./usr/share/man/nl/man7: time stamp 2024-08-09 05:47:37 is 32643376.446453526 s in the future +tar: ./usr/share/man/nl/man8: time stamp 2024-08-09 05:47:53 is 32643392.445856247 s in the future +tar: ./usr/share/man/sl/man1: time stamp 2024-08-09 05:47:20 is 32643359.445746221 s in the future +tar: ./usr/share/man/sl/man8: time stamp 2024-08-09 05:47:20 is 32643359.445575319 s in the future +tar: ./usr/share/man/hu/man5: time stamp 2024-08-09 05:47:27 is 32643366.445453611 s in the future +tar: ./usr/share/man/hu/man1: time stamp 2024-08-09 05:47:27 is 32643366.445273547 s in the future +tar: ./usr/share/man/hu/man8: time stamp 2024-08-09 05:47:27 is 32643366.445205175 s in the future +tar: ./usr/share/man/hu: time stamp 2024-08-09 05:47:13 is 32643352.445171109 s in the future +tar: ./usr/share/man/man3: time stamp 2024-08-09 05:47:45 is 32643384.442859835 s in the future +tar: ./usr/share/man/cs/man5: time stamp 2024-08-09 05:47:27 is 32643366.442694938 s in the future +tar: ./usr/share/man/cs/man1: time stamp 2024-08-09 05:47:27 is 32643366.442317482 s in the future +tar: ./usr/share/man/id/man1: time stamp 2024-08-09 05:47:27 is 32643366.442200348 s in the future +tar: ./usr/share/man/id/man8: time stamp 2024-08-09 05:47:27 is 32643366.442129875 s in the future +tar: ./usr/share/man/id: time stamp 2024-08-09 05:47:14 is 32643353.442096723 s in the future +tar: ./usr/share/man/ko/man1: time stamp 2024-08-09 05:47:27 is 32643366.441943094 s in the future +tar: ./usr/share/man/ko/man5: time stamp 2024-08-09 05:47:27 is 32643366.441867809 s in the future +tar: ./usr/share/man/ko/man8: time stamp 2024-08-09 05:47:27 is 32643366.441753559 s in the future +tar: ./usr/share/man/ko: time stamp 2024-08-09 05:47:14 is 32643353.441724847 s in the future +tar: ./usr/share/man/tr/man1: time stamp 2024-08-09 05:47:27 is 32643366.441567321 s in the future +tar: ./usr/share/man/tr/man5: time stamp 2024-08-09 05:47:27 is 32643366.441468398 s in the future +tar: ./usr/share/man/tr/man8: time stamp 2024-08-09 05:47:27 is 32643366.441276322 s in the future +tar: ./usr/share/man/tr: time stamp 2024-08-09 05:47:14 is 32643353.44124734 s in the future +tar: ./usr/share/man/zh_CN/man1: time stamp 2024-08-09 05:47:27 is 32643366.440981815 s in the future +tar: ./usr/share/man/zh_CN/man5: time stamp 2024-08-09 05:47:27 is 32643366.440808 s in the future +tar: ./usr/share/man/zh_CN/man8: time stamp 2024-08-09 05:47:27 is 32643366.440206355 s in the future +tar: ./usr/share/man/zh_TW/man1: time stamp 2024-08-09 05:47:27 is 32643366.44002171 s in the future +tar: ./usr/share/man/zh_TW/man5: time stamp 2024-08-09 05:47:27 is 32643366.439955749 s in the future +tar: ./usr/share/man/zh_TW/man8: time stamp 2024-08-09 05:47:27 is 32643366.439709438 s in the future +tar: ./usr/share/man/zh_TW: time stamp 2024-08-09 05:47:14 is 32643353.43967868 s in the future +tar: ./usr/share/man/fi/man1: time stamp 2024-08-09 05:47:27 is 32643366.439588607 s in the future +tar: ./usr/share/man/pt_BR/man1: time stamp 2024-08-09 05:47:27 is 32643366.43941126 s in the future +tar: ./usr/share/man/pt_BR/man5: time stamp 2024-08-09 05:47:27 is 32643366.439298802 s in the future +tar: ./usr/share/man/pt_BR/man8: time stamp 2024-08-09 05:47:27 is 32643366.439144448 s in the future +tar: ./usr/share/perl5/Debian/DebConf/Client: time stamp 2024-08-09 05:47:20 is 32643359.438944282 s in the future +tar: ./usr/share/perl5/Debian: time stamp 2024-08-09 05:47:18 is 32643357.438863635 s in the future +tar: ./usr/share/perl5/Debconf/Client: time stamp 2024-08-09 05:47:20 is 32643359.438763372 s in the future +tar: ./usr/share/perl5/Debconf/DbDriver: time stamp 2024-08-09 05:47:20 is 32643359.438382979 s in the future +tar: ./usr/share/perl5/Debconf/Element/Dialog: time stamp 2024-08-09 05:47:20 is 32643359.438096298 s in the future +tar: ./usr/share/perl5/Debconf/Element/Editor: time stamp 2024-08-09 05:47:20 is 32643359.437820445 s in the future +tar: ./usr/share/perl5/Debconf/Element/Gnome: time stamp 2024-08-09 05:47:20 is 32643359.437557228 s in the future +tar: ./usr/share/perl5/Debconf/Element/Noninteractive: time stamp 2024-08-09 05:47:20 is 32643359.437297068 s in the future +tar: ./usr/share/perl5/Debconf/Element/Teletype: time stamp 2024-08-09 05:47:20 is 32643359.437021684 s in the future +tar: ./usr/share/perl5/Debconf/Element/Web: time stamp 2024-08-09 05:47:20 is 32643359.436778482 s in the future +tar: ./usr/share/perl5/Debconf/Element: time stamp 2024-08-09 05:47:20 is 32643359.436639854 s in the future +tar: ./usr/share/perl5/Debconf/Format: time stamp 2024-08-09 05:47:20 is 32643359.436551186 s in the future +tar: ./usr/share/perl5/Debconf/FrontEnd: time stamp 2024-08-09 05:47:20 is 32643359.436203629 s in the future +tar: ./usr/share/perl5/Debconf/Template: time stamp 2024-08-09 05:47:20 is 32643359.436128475 s in the future +tar: ./usr/share/perl5/Debconf: time stamp 2024-08-09 05:47:20 is 32643359.435588614 s in the future +tar: ./usr/share/perl5/Dpkg/Build: time stamp 2024-08-09 05:47:42 is 32643381.435449854 s in the future +tar: ./usr/share/perl5/Dpkg/Changelog/Entry: time stamp 2024-08-09 05:47:42 is 32643381.435332282 s in the future +tar: ./usr/share/perl5/Dpkg/Changelog: time stamp 2024-08-09 05:47:42 is 32643381.435153698 s in the future +tar: ./usr/share/perl5/Dpkg/Compression: time stamp 2024-08-09 05:47:42 is 32643381.435020552 s in the future +tar: ./usr/share/perl5/Dpkg/Control/Tests: time stamp 2024-08-09 05:47:42 is 32643381.434949713 s in the future +tar: ./usr/share/perl5/Dpkg/Control: time stamp 2024-08-09 05:47:42 is 32643381.434647431 s in the future +tar: ./usr/share/perl5/Dpkg/Deps: time stamp 2024-08-09 05:47:42 is 32643381.434365781 s in the future +tar: ./usr/share/perl5/Dpkg/Dist: time stamp 2024-08-09 05:47:42 is 32643381.434285178 s in the future +tar: ./usr/share/perl5/Dpkg/Interface: time stamp 2024-08-09 05:47:42 is 32643381.434196118 s in the future +tar: ./usr/share/perl5/Dpkg/Shlibs: time stamp 2024-08-09 05:47:42 is 32643381.433969528 s in the future +tar: ./usr/share/perl5/Dpkg/Source/Package/V3: time stamp 2024-08-09 05:47:42 is 32643381.433757304 s in the future +tar: ./usr/share/perl5/Dpkg/Source/Package: time stamp 2024-08-09 05:47:42 is 32643381.433591793 s in the future +tar: ./usr/share/perl5/Dpkg/Source: time stamp 2024-08-09 05:47:42 is 32643381.432902091 s in the future +tar: ./usr/share/perl5/Dpkg/Vendor: time stamp 2024-08-09 05:47:42 is 32643381.432679517 s in the future +tar: ./usr/share/perl5/Dpkg: time stamp 2024-08-09 05:47:42 is 32643381.431319527 s in the future +tar: ./usr/share/perl5: time stamp 2024-08-09 05:47:42 is 32643381.431250087 s in the future +tar: ./usr/share/bash-completion/completions: time stamp 2024-08-09 05:47:29 is 32643368.429073985 s in the future +tar: ./usr/share/bug/apt: time stamp 2024-08-09 05:47:18 is 32643357.428975042 s in the future +tar: ./usr/share/bug/init-system-helpers: time stamp 2024-08-09 05:47:21 is 32643360.428898232 s in the future +tar: ./usr/share/bug/binutils: time stamp 2024-08-09 05:47:34 is 32643373.428802525 s in the future +tar: ./usr/share/bug: time stamp 2024-08-09 05:47:53 is 32643392.428696612 s in the future +tar: ./usr/share/lintian/overrides: time stamp 2024-08-09 05:47:53 is 32643392.427708133 s in the future +tar: ./usr/share/lintian/profiles/dpkg: time stamp 2024-08-09 05:47:20 is 32643359.427638457 s in the future +tar: ./usr/share/lintian: time stamp 2024-08-09 05:47:08 is 32643347.427593158 s in the future +tar: ./usr/share/base-files: time stamp 2024-08-09 05:47:19 is 32643358.427341009 s in the future +tar: ./usr/share/common-licenses: time stamp 2024-08-09 05:47:19 is 32643358.425879139 s in the future +tar: ./usr/share/info: time stamp 2024-08-09 05:47:28 is 32643367.422072422 s in the future +tar: ./usr/share/base-passwd: time stamp 2024-08-09 05:47:19 is 32643358.42195318 s in the future +tar: ./usr/share/doc-base: time stamp 2024-08-09 05:47:20 is 32643359.421835478 s in the future +tar: ./usr/share/menu: time stamp 2024-08-09 05:47:53 is 32643392.421712201 s in the future +tar: ./usr/share/debconf: time stamp 2024-08-09 05:47:20 is 32643359.421524402 s in the future +tar: ./usr/share/pixmaps: time stamp 2024-08-09 05:47:20 is 32643359.42146349 s in the future +tar: ./usr/share/keyrings: time stamp 2024-08-09 05:47:20 is 32643359.42029804 s in the future +tar: ./usr/share/debianutils: time stamp 2024-08-09 05:47:20 is 32643359.420231953 s in the future +tar: ./usr/share/dpkg/sh: time stamp 2024-08-09 05:47:20 is 32643359.420130944 s in the future +tar: ./usr/share/dpkg: time stamp 2024-08-09 05:47:42 is 32643381.419732412 s in the future +tar: ./usr/share/polkit-1/actions: time stamp 2024-08-09 05:47:20 is 32643359.419662443 s in the future +tar: ./usr/share/libc-bin: time stamp 2024-08-09 05:47:22 is 32643361.419572523 s in the future +tar: ./usr/share/pam-configs: time stamp 2024-08-09 05:47:25 is 32643364.419478223 s in the future +tar: ./usr/share/pam: time stamp 2024-08-09 05:47:25 is 32643364.418980866 s in the future +tar: ./usr/share/gcc/python/libstdcxx/v6: time stamp 2024-08-09 05:47:26 is 32643365.418417068 s in the future +tar: ./usr/share/gcc/python/libstdcxx: time stamp 2024-08-09 05:47:26 is 32643365.41835931 s in the future +tar: ./usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu: time stamp 2024-08-09 05:47:43 is 32643382.41817733 s in the future +tar: ./usr/share/gdb/auto-load/lib/x86_64-linux-gnu: time stamp 2024-08-09 05:47:42 is 32643381.417997495 s in the future +tar: ./usr/share/gdb/auto-load/lib: time stamp 2024-08-09 05:47:42 is 32643381.417968197 s in the future +tar: ./usr/share/gdb/auto-load: time stamp 2024-08-09 05:47:42 is 32643381.417942216 s in the future +tar: ./usr/share/tabset: time stamp 2024-08-09 05:47:27 is 32643366.417794167 s in the future +tar: ./usr/share/zoneinfo/Africa: time stamp 2024-08-09 05:47:28 is 32643367.416527141 s in the future +tar: ./usr/share/zoneinfo/America/Argentina: time stamp 2024-08-09 05:47:28 is 32643367.416156972 s in the future +tar: ./usr/share/zoneinfo/America/Indiana: time stamp 2024-08-09 05:47:28 is 32643367.415892955 s in the future +tar: ./usr/share/zoneinfo/America/Kentucky: time stamp 2024-08-09 05:47:28 is 32643367.415798873 s in the future +tar: ./usr/share/zoneinfo/America/North_Dakota: time stamp 2024-08-09 05:47:28 is 32643367.415670082 s in the future +tar: ./usr/share/zoneinfo/America: time stamp 2024-08-09 05:47:28 is 32643367.412463666 s in the future +tar: ./usr/share/zoneinfo/Australia: time stamp 2024-08-09 05:47:28 is 32643367.408955215 s in the future +tar: ./usr/share/zoneinfo/Etc: time stamp 2024-08-09 05:47:28 is 32643367.407885992 s in the future +tar: ./usr/share/zoneinfo/Pacific: time stamp 2024-08-09 05:47:28 is 32643367.405162371 s in the future +tar: ./usr/share/zoneinfo/posix/Africa: time stamp 2024-08-09 05:47:28 is 32643367.403756841 s in the future +tar: ./usr/share/zoneinfo/posix/America/Argentina: time stamp 2024-08-09 05:47:28 is 32643367.40339491 s in the future +tar: ./usr/share/zoneinfo/posix/America/Indiana: time stamp 2024-08-09 05:47:28 is 32643367.403038294 s in the future +tar: ./usr/share/zoneinfo/posix/America/Kentucky: time stamp 2024-08-09 05:47:28 is 32643367.402937905 s in the future +tar: ./usr/share/zoneinfo/posix/America/North_Dakota: time stamp 2024-08-09 05:47:28 is 32643367.402821745 s in the future +tar: ./usr/share/zoneinfo/posix/America: time stamp 2024-08-09 05:47:28 is 32643367.399601156 s in the future +tar: ./usr/share/zoneinfo/posix/Australia: time stamp 2024-08-09 05:47:28 is 32643367.396252593 s in the future +tar: ./usr/share/zoneinfo/posix/Etc: time stamp 2024-08-09 05:47:28 is 32643367.395169099 s in the future +tar: ./usr/share/zoneinfo/posix/Pacific: time stamp 2024-08-09 05:47:28 is 32643367.392440265 s in the future +tar: ./usr/share/zoneinfo/right/Africa: time stamp 2024-08-09 05:47:28 is 32643367.390074731 s in the future +tar: ./usr/share/zoneinfo/right/America/Argentina: time stamp 2024-08-09 05:47:28 is 32643367.38970406 s in the future +tar: ./usr/share/zoneinfo/right/America/Indiana: time stamp 2024-08-09 05:47:28 is 32643367.38944131 s in the future +tar: ./usr/share/zoneinfo/right/America/Kentucky: time stamp 2024-08-09 05:47:28 is 32643367.389310125 s in the future +tar: ./usr/share/zoneinfo/right/America/North_Dakota: time stamp 2024-08-09 05:47:28 is 32643367.389177929 s in the future +tar: ./usr/share/zoneinfo/right/America: time stamp 2024-08-09 05:47:28 is 32643367.385772511 s in the future +tar: ./usr/share/zoneinfo/right/Australia: time stamp 2024-08-09 05:47:28 is 32643367.382388721 s in the future +tar: ./usr/share/zoneinfo/right/Etc: time stamp 2024-08-09 05:47:28 is 32643367.381308016 s in the future +tar: ./usr/share/zoneinfo/right/Pacific: time stamp 2024-08-09 05:47:28 is 32643367.378384005 s in the future +tar: ./usr/share/build-essential: time stamp 2024-08-09 05:47:35 is 32643374.375316694 s in the future +tar: ./usr/share/perl/5.32.1/App/Prove/State/Result: time stamp 2024-08-09 05:47:47 is 32643386.375169586 s in the future +tar: ./usr/share/perl/5.32.1/App/Prove/State: time stamp 2024-08-09 05:47:47 is 32643386.375090229 s in the future +tar: ./usr/share/perl/5.32.1/App/Prove: time stamp 2024-08-09 05:47:47 is 32643386.375003248 s in the future +tar: ./usr/share/perl/5.32.1/App: time stamp 2024-08-09 05:47:47 is 32643386.374811718 s in the future +tar: ./usr/share/perl/5.32.1/Archive/Tar: time stamp 2024-08-09 05:47:47 is 32643386.374677641 s in the future +tar: ./usr/share/perl/5.32.1/Archive: time stamp 2024-08-09 05:47:47 is 32643386.374062962 s in the future +tar: ./usr/share/perl/5.32.1/Attribute: time stamp 2024-08-09 05:47:47 is 32643386.373791422 s in the future +tar: ./usr/share/perl/5.32.1/B: time stamp 2024-08-09 05:47:47 is 32643386.371936757 s in the future +tar: ./usr/share/perl/5.32.1/CPAN/API: time stamp 2024-08-09 05:47:47 is 32643386.371853852 s in the future +tar: ./usr/share/perl/5.32.1/CPAN/Exception: time stamp 2024-08-09 05:47:47 is 32643386.371681523 s in the future +tar: ./usr/share/perl/5.32.1/CPAN/FTP: time stamp 2024-08-09 05:47:47 is 32643386.371616796 s in the future +tar: ./usr/share/perl/5.32.1/CPAN/HTTP: time stamp 2024-08-09 05:47:47 is 32643386.371488876 s in the future +tar: ./usr/share/perl/5.32.1/CPAN/Kwalify: time stamp 2024-08-09 05:47:47 is 32643386.371398132 s in the future +tar: ./usr/share/perl/5.32.1/CPAN/LWP: time stamp 2024-08-09 05:47:47 is 32643386.371324509 s in the future +tar: ./usr/share/perl/5.32.1/CPAN/Meta/History: time stamp 2024-08-09 05:47:47 is 32643386.370991321 s in the future +tar: ./usr/share/perl/5.32.1/CPAN/Meta: time stamp 2024-08-09 05:47:47 is 32643386.369576496 s in the future +tar: ./usr/share/perl/5.32.1/CPAN/Plugin: time stamp 2024-08-09 05:47:47 is 32643386.369497073 s in the future +tar: ./usr/share/perl/5.32.1/CPAN: time stamp 2024-08-09 05:47:47 is 32643386.365267877 s in the future +tar: ./usr/share/perl/5.32.1/Carp: time stamp 2024-08-09 05:47:47 is 32643386.365182947 s in the future +tar: ./usr/share/perl/5.32.1/Class: time stamp 2024-08-09 05:47:47 is 32643386.365076208 s in the future +tar: ./usr/share/perl/5.32.1/Compress: time stamp 2024-08-09 05:47:47 is 32643386.364849745 s in the future +tar: ./usr/share/perl/5.32.1/Config/Perl: time stamp 2024-08-09 05:47:47 is 32643386.36464687 s in the future +tar: ./usr/share/perl/5.32.1/Config: time stamp 2024-08-09 05:47:47 is 32643386.364594293 s in the future +tar: ./usr/share/perl/5.32.1/DBM_Filter: time stamp 2024-08-09 05:47:47 is 32643386.364423446 s in the future +tar: ./usr/share/perl/5.32.1/Devel: time stamp 2024-08-09 05:47:47 is 32643386.364351004 s in the future +tar: ./usr/share/perl/5.32.1/Digest: time stamp 2024-08-09 05:47:47 is 32643386.364229596 s in the future +tar: ./usr/share/perl/5.32.1/Encode: time stamp 2024-08-09 05:47:47 is 32643386.363706985 s in the future +tar: ./usr/share/perl/5.32.1/Exporter: time stamp 2024-08-09 05:47:47 is 32643386.363637887 s in the future +tar: ./usr/share/perl/5.32.1/ExtUtils/CBuilder/Platform/Windows: time stamp 2024-08-09 05:47:47 is 32643386.363459663 s in the future +tar: ./usr/share/perl/5.32.1/ExtUtils/CBuilder/Platform: time stamp 2024-08-09 05:47:47 is 32643386.362933666 s in the future +tar: ./usr/share/perl/5.32.1/ExtUtils/CBuilder: time stamp 2024-08-09 05:47:47 is 32643386.362827345 s in the future +tar: ./usr/share/perl/5.32.1/ExtUtils/Command: time stamp 2024-08-09 05:47:47 is 32643386.362742097 s in the future +tar: ./usr/share/perl/5.32.1/ExtUtils/Constant: time stamp 2024-08-09 05:47:47 is 32643386.362482169 s in the future +tar: ./usr/share/perl/5.32.1/ExtUtils/Liblist: time stamp 2024-08-09 05:47:47 is 32643386.362312843 s in the future +tar: ./usr/share/perl/5.32.1/ExtUtils/MakeMaker: time stamp 2024-08-09 05:47:47 is 32643386.361993275 s in the future +tar: ./usr/share/perl/5.32.1/ExtUtils/ParseXS: time stamp 2024-08-09 05:47:47 is 32643386.36182099 s in the future +tar: ./usr/share/perl/5.32.1/ExtUtils/Typemaps: time stamp 2024-08-09 05:47:47 is 32643386.361594896 s in the future +tar: ./usr/share/perl/5.32.1/ExtUtils: time stamp 2024-08-09 05:47:47 is 32643386.355999129 s in the future +tar: ./usr/share/perl/5.32.1/File: time stamp 2024-08-09 05:47:47 is 32643386.353606756 s in the future +tar: ./usr/share/perl/5.32.1/Filter: time stamp 2024-08-09 05:47:47 is 32643386.353389056 s in the future +tar: ./usr/share/perl/5.32.1/Getopt: time stamp 2024-08-09 05:47:47 is 32643386.35265808 s in the future +tar: ./usr/share/perl/5.32.1/HTTP: time stamp 2024-08-09 05:47:47 is 32643386.352124337 s in the future +tar: ./usr/share/perl/5.32.1/I18N/LangTags: time stamp 2024-08-09 05:47:47 is 32643386.351853529 s in the future +tar: ./usr/share/perl/5.32.1/I18N: time stamp 2024-08-09 05:47:47 is 32643386.351574253 s in the future +tar: ./usr/share/perl/5.32.1/IO/Compress/Adapter: time stamp 2024-08-09 05:47:47 is 32643386.351345554 s in the future +tar: ./usr/share/perl/5.32.1/IO/Compress/Base: time stamp 2024-08-09 05:47:47 is 32643386.351233707 s in the future +tar: ./usr/share/perl/5.32.1/IO/Compress/Gzip: time stamp 2024-08-09 05:47:47 is 32643386.35114996 s in the future +tar: ./usr/share/perl/5.32.1/IO/Compress/Zip: time stamp 2024-08-09 05:47:47 is 32643386.351060744 s in the future +tar: ./usr/share/perl/5.32.1/IO/Compress/Zlib: time stamp 2024-08-09 05:47:47 is 32643386.350961069 s in the future +tar: ./usr/share/perl/5.32.1/IO/Compress: time stamp 2024-08-09 05:47:47 is 32643386.349600058 s in the future +tar: ./usr/share/perl/5.32.1/IO/Socket: time stamp 2024-08-09 05:47:47 is 32643386.349355432 s in the future +tar: ./usr/share/perl/5.32.1/IO/Uncompress/Adapter: time stamp 2024-08-09 05:47:47 is 32643386.349214972 s in the future +tar: ./usr/share/perl/5.32.1/IO/Uncompress: time stamp 2024-08-09 05:47:47 is 32643386.347552958 s in the future +tar: ./usr/share/perl/5.32.1/IO: time stamp 2024-08-09 05:47:47 is 32643386.34748018 s in the future +tar: ./usr/share/perl/5.32.1/IPC: time stamp 2024-08-09 05:47:47 is 32643386.34681951 s in the future +tar: ./usr/share/perl/5.32.1/JSON/PP: time stamp 2024-08-09 05:47:47 is 32643386.346742648 s in the future +tar: ./usr/share/perl/5.32.1/JSON: time stamp 2024-08-09 05:47:47 is 32643386.345982549 s in the future +tar: ./usr/share/perl/5.32.1/Locale/Maketext: time stamp 2024-08-09 05:47:47 is 32643386.345493824 s in the future +tar: ./usr/share/perl/5.32.1/Locale: time stamp 2024-08-09 05:47:47 is 32643386.344874275 s in the future +tar: ./usr/share/perl/5.32.1/Math/BigFloat: time stamp 2024-08-09 05:47:47 is 32643386.344697565 s in the future +tar: ./usr/share/perl/5.32.1/Math/BigInt: time stamp 2024-08-09 05:47:47 is 32643386.34381263 s in the future +tar: ./usr/share/perl/5.32.1/Math: time stamp 2024-08-09 05:47:47 is 32643386.339949811 s in the future +tar: ./usr/share/perl/5.32.1/Memoize: time stamp 2024-08-09 05:47:47 is 32643386.339676441 s in the future +tar: ./usr/share/perl/5.32.1/Module/CoreList: time stamp 2024-08-09 05:47:47 is 32643386.339527642 s in the future +tar: ./usr/share/perl/5.32.1/Module/Load: time stamp 2024-08-09 05:47:47 is 32643386.339430896 s in the future +tar: ./usr/share/perl/5.32.1/Module: time stamp 2024-08-09 05:47:47 is 32643386.334312178 s in the future +tar: ./usr/share/perl/5.32.1/Net/FTP: time stamp 2024-08-09 05:47:47 is 32643386.334079898 s in the future +tar: ./usr/share/perl/5.32.1/Net: time stamp 2024-08-09 05:47:47 is 32643386.331821372 s in the future +tar: ./usr/share/perl/5.32.1/Params: time stamp 2024-08-09 05:47:47 is 32643386.331731436 s in the future +tar: ./usr/share/perl/5.32.1/Parse/CPAN: time stamp 2024-08-09 05:47:47 is 32643386.331618095 s in the future +tar: ./usr/share/perl/5.32.1/Parse: time stamp 2024-08-09 05:47:46 is 32643385.331581646 s in the future +tar: ./usr/share/perl/5.32.1/Perl: time stamp 2024-08-09 05:47:47 is 32643386.331502855 s in the future +tar: ./usr/share/perl/5.32.1/PerlIO/via: time stamp 2024-08-09 05:47:47 is 32643386.331411572 s in the future +tar: ./usr/share/perl/5.32.1/PerlIO: time stamp 2024-08-09 05:47:46 is 32643385.331372877 s in the future +tar: ./usr/share/perl/5.32.1/Pod/Perldoc: time stamp 2024-08-09 05:47:47 is 32643386.330943542 s in the future +tar: ./usr/share/perl/5.32.1/Pod/Simple: time stamp 2024-08-09 05:47:47 is 32643386.328145296 s in the future +tar: ./usr/share/perl/5.32.1/Pod/Text: time stamp 2024-08-09 05:47:47 is 32643386.327893499 s in the future +tar: ./usr/share/perl/5.32.1/Pod: time stamp 2024-08-09 05:47:47 is 32643386.324934871 s in the future +tar: ./usr/share/perl/5.32.1/Search: time stamp 2024-08-09 05:47:47 is 32643386.32486763 s in the future +tar: ./usr/share/perl/5.32.1/TAP/Formatter/Console: time stamp 2024-08-09 05:47:47 is 32643386.324711804 s in the future +tar: ./usr/share/perl/5.32.1/TAP/Formatter/File: time stamp 2024-08-09 05:47:47 is 32643386.32463749 s in the future +tar: ./usr/share/perl/5.32.1/TAP/Formatter: time stamp 2024-08-09 05:47:47 is 32643386.324432455 s in the future +tar: ./usr/share/perl/5.32.1/TAP/Harness: time stamp 2024-08-09 05:47:47 is 32643386.324296855 s in the future +tar: ./usr/share/perl/5.32.1/TAP/Parser/Iterator: time stamp 2024-08-09 05:47:47 is 32643386.324154755 s in the future +tar: ./usr/share/perl/5.32.1/TAP/Parser/Result: time stamp 2024-08-09 05:47:47 is 32643386.323916655 s in the future +tar: ./usr/share/perl/5.32.1/TAP/Parser/Scheduler: time stamp 2024-08-09 05:47:47 is 32643386.323814291 s in the future +tar: ./usr/share/perl/5.32.1/TAP/Parser/SourceHandler: time stamp 2024-08-09 05:47:47 is 32643386.323608708 s in the future +tar: ./usr/share/perl/5.32.1/TAP/Parser/YAMLish: time stamp 2024-08-09 05:47:47 is 32643386.323491713 s in the future +tar: ./usr/share/perl/5.32.1/TAP/Parser: time stamp 2024-08-09 05:47:47 is 32643386.323087029 s in the future +tar: ./usr/share/perl/5.32.1/TAP: time stamp 2024-08-09 05:47:47 is 32643386.32241548 s in the future +tar: ./usr/share/perl/5.32.1/Term: time stamp 2024-08-09 05:47:47 is 32643386.321597818 s in the future +tar: ./usr/share/perl/5.32.1/Test/Builder/IO: time stamp 2024-08-09 05:47:47 is 32643386.321477269 s in the future +tar: ./usr/share/perl/5.32.1/Test/Builder/Tester: time stamp 2024-08-09 05:47:47 is 32643386.321399915 s in the future +tar: ./usr/share/perl/5.32.1/Test/Builder: time stamp 2024-08-09 05:47:47 is 32643386.321212595 s in the future +tar: ./usr/share/perl/5.32.1/Test/Tester: time stamp 2024-08-09 05:47:47 is 32643386.321077502 s in the future +tar: ./usr/share/perl/5.32.1/Test/use: time stamp 2024-08-09 05:47:47 is 32643386.32101628 s in the future +tar: ./usr/share/perl/5.32.1/Test: time stamp 2024-08-09 05:47:47 is 32643386.319845563 s in the future +tar: ./usr/share/perl/5.32.1/Test2/API: time stamp 2024-08-09 05:47:47 is 32643386.319417085 s in the future +tar: ./usr/share/perl/5.32.1/Test2/Event/TAP: time stamp 2024-08-09 05:47:47 is 32643386.319289617 s in the future +tar: ./usr/share/perl/5.32.1/Test2/Event: time stamp 2024-08-09 05:47:47 is 32643386.318886425 s in the future +tar: ./usr/share/perl/5.32.1/Test2/EventFacet/Info: time stamp 2024-08-09 05:47:47 is 32643386.318796053 s in the future +tar: ./usr/share/perl/5.32.1/Test2/EventFacet: time stamp 2024-08-09 05:47:47 is 32643386.318432236 s in the future +tar: ./usr/share/perl/5.32.1/Test2/Formatter: time stamp 2024-08-09 05:47:47 is 32643386.318335854 s in the future +tar: ./usr/share/perl/5.32.1/Test2/Hub/Interceptor: time stamp 2024-08-09 05:47:47 is 32643386.318248775 s in the future +tar: ./usr/share/perl/5.32.1/Test2/Hub: time stamp 2024-08-09 05:47:47 is 32643386.318152134 s in the future +tar: ./usr/share/perl/5.32.1/Test2/IPC/Driver: time stamp 2024-08-09 05:47:47 is 32643386.318039002 s in the future +tar: ./usr/share/perl/5.32.1/Test2/IPC: time stamp 2024-08-09 05:47:47 is 32643386.317970963 s in the future +tar: ./usr/share/perl/5.32.1/Test2/Tools: time stamp 2024-08-09 05:47:47 is 32643386.31787952 s in the future +tar: ./usr/share/perl/5.32.1/Test2/Util: time stamp 2024-08-09 05:47:47 is 32643386.317686096 s in the future +tar: ./usr/share/perl/5.32.1/Test2: time stamp 2024-08-09 05:47:47 is 32643386.316971524 s in the future +tar: ./usr/share/perl/5.32.1/Text: time stamp 2024-08-09 05:47:47 is 32643386.31620263 s in the future +tar: ./usr/share/perl/5.32.1/Thread: time stamp 2024-08-09 05:47:47 is 32643386.316016642 s in the future +tar: ./usr/share/perl/5.32.1/Tie/Hash: time stamp 2024-08-09 05:47:47 is 32643386.315919287 s in the future +tar: ./usr/share/perl/5.32.1/Tie: time stamp 2024-08-09 05:47:47 is 32643386.314978983 s in the future +tar: ./usr/share/perl/5.32.1/Time: time stamp 2024-08-09 05:47:47 is 32643386.314627768 s in the future +tar: ./usr/share/perl/5.32.1/Unicode/Collate/CJK: time stamp 2024-08-09 05:47:47 is 32643386.309139774 s in the future +tar: ./usr/share/perl/5.32.1/Unicode/Collate/Locale: time stamp 2024-08-09 05:47:47 is 32643386.303928709 s in the future +tar: ./usr/share/perl/5.32.1/Unicode/Collate: time stamp 2024-08-09 05:47:47 is 32643386.293213252 s in the future +tar: ./usr/share/perl/5.32.1/Unicode: time stamp 2024-08-09 05:47:47 is 32643386.291822337 s in the future +tar: ./usr/share/perl/5.32.1/User: time stamp 2024-08-09 05:47:47 is 32643386.291697617 s in the future +tar: ./usr/share/perl/5.32.1/autodie/Scope: time stamp 2024-08-09 05:47:47 is 32643386.291564732 s in the future +tar: ./usr/share/perl/5.32.1/autodie/exception: time stamp 2024-08-09 05:47:47 is 32643386.291493458 s in the future +tar: ./usr/share/perl/5.32.1/autodie: time stamp 2024-08-09 05:47:47 is 32643386.291271452 s in the future +tar: ./usr/share/perl/5.32.1/encoding: time stamp 2024-08-09 05:47:47 is 32643386.291077981 s in the future +tar: ./usr/share/perl/5.32.1/overload: time stamp 2024-08-09 05:47:47 is 32643386.291014133 s in the future +tar: ./usr/share/perl/5.32.1/pod: time stamp 2024-08-09 05:47:47 is 32643386.288634264 s in the future +tar: ./usr/share/perl/5.32.1/unicore/To: time stamp 2024-08-09 05:47:47 is 32643386.28153749 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Age: time stamp 2024-08-09 05:47:47 is 32643386.280963053 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Alpha: time stamp 2024-08-09 05:47:47 is 32643386.280877982 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Bc: time stamp 2024-08-09 05:47:47 is 32643386.280496828 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/BidiC: time stamp 2024-08-09 05:47:47 is 32643386.280418015 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/BidiM: time stamp 2024-08-09 05:47:47 is 32643386.280344384 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Blk: time stamp 2024-08-09 05:47:47 is 32643386.280271716 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Bpt: time stamp 2024-08-09 05:47:47 is 32643386.280135538 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/CE: time stamp 2024-08-09 05:47:47 is 32643386.280069632 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/CI: time stamp 2024-08-09 05:47:47 is 32643386.279972722 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/CWCF: time stamp 2024-08-09 05:47:47 is 32643386.279898501 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/CWCM: time stamp 2024-08-09 05:47:47 is 32643386.279802679 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/CWKCF: time stamp 2024-08-09 05:47:47 is 32643386.279712085 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/CWL: time stamp 2024-08-09 05:47:47 is 32643386.279639875 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/CWT: time stamp 2024-08-09 05:47:47 is 32643386.279542524 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/CWU: time stamp 2024-08-09 05:47:47 is 32643386.27942162 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Cased: time stamp 2024-08-09 05:47:47 is 32643386.279330857 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Ccc: time stamp 2024-08-09 05:47:47 is 32643386.278975284 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/CompEx: time stamp 2024-08-09 05:47:47 is 32643386.278898919 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/DI: time stamp 2024-08-09 05:47:47 is 32643386.278817963 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Dash: time stamp 2024-08-09 05:47:47 is 32643386.278746567 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Dep: time stamp 2024-08-09 05:47:47 is 32643386.278670778 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Dia: time stamp 2024-08-09 05:47:47 is 32643386.278582602 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Dt: time stamp 2024-08-09 05:47:47 is 32643386.278190287 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/EBase: time stamp 2024-08-09 05:47:47 is 32643386.278096813 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/EComp: time stamp 2024-08-09 05:47:47 is 32643386.278018526 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/EPres: time stamp 2024-08-09 05:47:47 is 32643386.277937512 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Ea: time stamp 2024-08-09 05:47:47 is 32643386.277755387 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Emoji: time stamp 2024-08-09 05:47:47 is 32643386.277684352 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Ext: time stamp 2024-08-09 05:47:47 is 32643386.277608905 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/ExtPict: time stamp 2024-08-09 05:47:47 is 32643386.277533194 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/GCB: time stamp 2024-08-09 05:47:47 is 32643386.277269452 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Gc: time stamp 2024-08-09 05:47:47 is 32643386.27632528 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/GrBase: time stamp 2024-08-09 05:47:47 is 32643386.276242259 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/GrExt: time stamp 2024-08-09 05:47:47 is 32643386.276161343 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Hex: time stamp 2024-08-09 05:47:47 is 32643386.276083313 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Hst: time stamp 2024-08-09 05:47:47 is 32643386.275999477 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Hyphen: time stamp 2024-08-09 05:47:47 is 32643386.275920502 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/IDC: time stamp 2024-08-09 05:47:47 is 32643386.275813374 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/IDS: time stamp 2024-08-09 05:47:47 is 32643386.275726016 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/IdStatus: time stamp 2024-08-09 05:47:47 is 32643386.275601211 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/IdType: time stamp 2024-08-09 05:47:47 is 32643386.275233771 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Ideo: time stamp 2024-08-09 05:47:47 is 32643386.275139234 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/In: time stamp 2024-08-09 05:47:47 is 32643386.27436475 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/InPC: time stamp 2024-08-09 05:47:47 is 32643386.273996223 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/InSC: time stamp 2024-08-09 05:47:47 is 32643386.273399722 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Jg: time stamp 2024-08-09 05:47:47 is 32643386.272892348 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Jt: time stamp 2024-08-09 05:47:47 is 32643386.27266949 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Lb: time stamp 2024-08-09 05:47:47 is 32643386.272104287 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Lower: time stamp 2024-08-09 05:47:47 is 32643386.27201904 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Math: time stamp 2024-08-09 05:47:47 is 32643386.271947274 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/NFCQC: time stamp 2024-08-09 05:47:47 is 32643386.271837377 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/NFDQC: time stamp 2024-08-09 05:47:47 is 32643386.271734872 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/NFKCQC: time stamp 2024-08-09 05:47:47 is 32643386.271624379 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/NFKDQC: time stamp 2024-08-09 05:47:47 is 32643386.271497045 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Nt: time stamp 2024-08-09 05:47:47 is 32643386.271377003 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Nv: time stamp 2024-08-09 05:47:47 is 32643386.269809347 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/PCM: time stamp 2024-08-09 05:47:47 is 32643386.269735209 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/PatSyn: time stamp 2024-08-09 05:47:47 is 32643386.269635247 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Perl: time stamp 2024-08-09 05:47:47 is 32643386.268903418 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/QMark: time stamp 2024-08-09 05:47:47 is 32643386.268827128 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/SB: time stamp 2024-08-09 05:47:47 is 32643386.268412408 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/SD: time stamp 2024-08-09 05:47:47 is 32643386.268332906 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/STerm: time stamp 2024-08-09 05:47:47 is 32643386.268236246 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Sc: time stamp 2024-08-09 05:47:47 is 32643386.267459903 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Scx: time stamp 2024-08-09 05:47:47 is 32643386.265789143 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Term: time stamp 2024-08-09 05:47:47 is 32643386.265723798 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/UIdeo: time stamp 2024-08-09 05:47:47 is 32643386.265655623 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Upper: time stamp 2024-08-09 05:47:47 is 32643386.265543411 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/Vo: time stamp 2024-08-09 05:47:47 is 32643386.265379287 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/WB: time stamp 2024-08-09 05:47:47 is 32643386.265007024 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/XIDC: time stamp 2024-08-09 05:47:47 is 32643386.264918376 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib/XIDS: time stamp 2024-08-09 05:47:47 is 32643386.264832703 s in the future +tar: ./usr/share/perl/5.32.1/unicore/lib: time stamp 2024-08-09 05:47:47 is 32643386.264791113 s in the future +tar: ./usr/share/perl/5.32.1/unicore: time stamp 2024-08-09 05:47:47 is 32643386.25486901 s in the future +tar: ./usr/share/perl/5.32.1/version: time stamp 2024-08-09 05:47:47 is 32643386.254601085 s in the future +tar: ./usr/share/perl/5.32.1/warnings: time stamp 2024-08-09 05:47:47 is 32643386.254531574 s in the future +tar: ./usr/share/perl/5.32.1: time stamp 2024-08-09 05:47:47 is 32643386.243504085 s in the future +tar: ./usr/share/perl: time stamp 2024-08-09 05:47:47 is 32643386.243434042 s in the future +tar: ./usr/share/initramfs-tools/hooks: time stamp 2024-08-09 05:47:53 is 32643392.207594433 s in the future +tar: ./usr/share/initramfs-tools: time stamp 2024-08-09 05:47:53 is 32643392.207529655 s in the future +tar: ./usr/lib/apt/methods: time stamp 2024-08-09 05:47:18 is 32643356.688669966 s in the future +tar: ./usr/lib/apt/solvers: time stamp 2024-08-09 05:47:18 is 32643356.688489012 s in the future +tar: ./usr/lib/dpkg/methods/apt: time stamp 2024-08-09 05:47:18 is 32643356.68793828 s in the future +tar: ./usr/lib/x86_64-linux-gnu/e2fsprogs: time stamp 2024-08-09 05:47:20 is 32643358.687556231 s in the future +tar: ./usr/lib/x86_64-linux-gnu/audit: time stamp 2024-08-09 05:47:22 is 32643360.687464926 s in the future +tar: ./usr/lib/x86_64-linux-gnu/gconv: time stamp 2024-08-09 05:47:22 is 32643360.626066678 s in the future +tar: ./usr/lib/x86_64-linux-gnu/krb5/plugins/preauth: time stamp 2024-08-09 05:47:24 is 32643362.625126692 s in the future +tar: ./usr/lib/x86_64-linux-gnu/engines-1.1: time stamp 2024-08-09 05:47:26 is 32643364.62466569 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/Carp: time stamp 2024-08-09 05:47:28 is 32643366.624586648 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/Exporter: time stamp 2024-08-09 05:47:28 is 32643366.624492372 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/File/Spec: time stamp 2024-08-09 05:47:28 is 32643366.624393747 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/File: time stamp 2024-08-09 05:47:28 is 32643366.623621961 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/Getopt: time stamp 2024-08-09 05:47:28 is 32643366.623370372 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/Hash: time stamp 2024-08-09 05:47:28 is 32643366.623287374 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/IO/Socket: time stamp 2024-08-09 05:47:28 is 32643366.623092006 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/IO: time stamp 2024-08-09 05:47:28 is 32643366.622736488 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/IPC: time stamp 2024-08-09 05:47:28 is 32643366.622636758 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/List: time stamp 2024-08-09 05:47:28 is 32643366.622554532 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/Scalar: time stamp 2024-08-09 05:47:28 is 32643366.622487617 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/Text: time stamp 2024-08-09 05:47:28 is 32643366.622353431 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/Tie: time stamp 2024-08-09 05:47:28 is 32643366.622281409 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/auto/Cwd: time stamp 2024-08-09 05:47:28 is 32643366.622161391 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/auto/Fcntl: time stamp 2024-08-09 05:47:28 is 32643366.622052864 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/auto/File/Glob: time stamp 2024-08-09 05:47:28 is 32643366.621908426 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/auto/Hash/Util: time stamp 2024-08-09 05:47:28 is 32643366.621695274 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/auto/IO: time stamp 2024-08-09 05:47:28 is 32643366.621544809 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/auto/List/Util: time stamp 2024-08-09 05:47:28 is 32643366.621085284 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/auto/POSIX: time stamp 2024-08-09 05:47:28 is 32643366.620031565 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/auto/Socket: time stamp 2024-08-09 05:47:28 is 32643366.619751154 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/auto/attributes: time stamp 2024-08-09 05:47:28 is 32643366.619505121 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/auto/re: time stamp 2024-08-09 05:47:28 is 32643366.613388321 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/To: time stamp 2024-08-09 05:47:28 is 32643366.605933794 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Age: time stamp 2024-08-09 05:47:28 is 32643366.605363102 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Alpha: time stamp 2024-08-09 05:47:28 is 32643366.605283888 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Bc: time stamp 2024-08-09 05:47:28 is 32643366.604895621 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/BidiC: time stamp 2024-08-09 05:47:28 is 32643366.604831498 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/BidiM: time stamp 2024-08-09 05:47:28 is 32643366.60474924 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Blk: time stamp 2024-08-09 05:47:28 is 32643366.604619695 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Bpt: time stamp 2024-08-09 05:47:28 is 32643366.604504479 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/CE: time stamp 2024-08-09 05:47:28 is 32643366.604437644 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/CI: time stamp 2024-08-09 05:47:28 is 32643366.604334309 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/CWCF: time stamp 2024-08-09 05:47:28 is 32643366.604249175 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/CWCM: time stamp 2024-08-09 05:47:28 is 32643366.604172223 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/CWKCF: time stamp 2024-08-09 05:47:28 is 32643366.6040801 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/CWL: time stamp 2024-08-09 05:47:28 is 32643366.603983162 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/CWT: time stamp 2024-08-09 05:47:28 is 32643366.603887849 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/CWU: time stamp 2024-08-09 05:47:28 is 32643366.603818467 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Cased: time stamp 2024-08-09 05:47:28 is 32643366.603737495 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Ccc: time stamp 2024-08-09 05:47:28 is 32643366.603427726 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/CompEx: time stamp 2024-08-09 05:47:28 is 32643366.603362823 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/DI: time stamp 2024-08-09 05:47:28 is 32643366.603280831 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Dash: time stamp 2024-08-09 05:47:28 is 32643366.603161028 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Dep: time stamp 2024-08-09 05:47:28 is 32643366.60307767 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Dia: time stamp 2024-08-09 05:47:28 is 32643366.603004169 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Dt: time stamp 2024-08-09 05:47:28 is 32643366.602615525 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/EBase: time stamp 2024-08-09 05:47:28 is 32643366.602550271 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/EComp: time stamp 2024-08-09 05:47:28 is 32643366.602475629 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/EPres: time stamp 2024-08-09 05:47:28 is 32643366.602401547 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Ea: time stamp 2024-08-09 05:47:28 is 32643366.602208876 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Emoji: time stamp 2024-08-09 05:47:28 is 32643366.602146011 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Ext: time stamp 2024-08-09 05:47:28 is 32643366.602076348 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/ExtPict: time stamp 2024-08-09 05:47:28 is 32643366.601964381 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/GCB: time stamp 2024-08-09 05:47:28 is 32643366.601705274 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Gc: time stamp 2024-08-09 05:47:28 is 32643366.600813126 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/GrBase: time stamp 2024-08-09 05:47:28 is 32643366.600727835 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/GrExt: time stamp 2024-08-09 05:47:28 is 32643366.600634177 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Hex: time stamp 2024-08-09 05:47:28 is 32643366.600554705 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Hst: time stamp 2024-08-09 05:47:28 is 32643366.600475877 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Hyphen: time stamp 2024-08-09 05:47:28 is 32643366.600399991 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/IDC: time stamp 2024-08-09 05:47:28 is 32643366.600295296 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/IDS: time stamp 2024-08-09 05:47:28 is 32643366.600218382 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/IdStatus: time stamp 2024-08-09 05:47:28 is 32643366.600071981 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/IdType: time stamp 2024-08-09 05:47:28 is 32643366.599734137 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Ideo: time stamp 2024-08-09 05:47:28 is 32643366.599662188 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/In: time stamp 2024-08-09 05:47:28 is 32643366.598718058 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/InPC: time stamp 2024-08-09 05:47:28 is 32643366.598367633 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/InSC: time stamp 2024-08-09 05:47:28 is 32643366.597732742 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Jg: time stamp 2024-08-09 05:47:28 is 32643366.597248896 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Jt: time stamp 2024-08-09 05:47:28 is 32643366.597026519 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Lb: time stamp 2024-08-09 05:47:28 is 32643366.59645235 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Lower: time stamp 2024-08-09 05:47:28 is 32643366.596384467 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Math: time stamp 2024-08-09 05:47:28 is 32643366.596306539 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/NFCQC: time stamp 2024-08-09 05:47:28 is 32643366.596204474 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/NFDQC: time stamp 2024-08-09 05:47:28 is 32643366.596083578 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/NFKCQC: time stamp 2024-08-09 05:47:28 is 32643366.595982055 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/NFKDQC: time stamp 2024-08-09 05:47:28 is 32643366.595865202 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Nt: time stamp 2024-08-09 05:47:28 is 32643366.595737418 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Nv: time stamp 2024-08-09 05:47:28 is 32643366.594124356 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/PCM: time stamp 2024-08-09 05:47:28 is 32643366.594050161 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/PatSyn: time stamp 2024-08-09 05:47:28 is 32643366.593978805 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Perl: time stamp 2024-08-09 05:47:28 is 32643366.593206711 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/QMark: time stamp 2024-08-09 05:47:28 is 32643366.59313652 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/SB: time stamp 2024-08-09 05:47:28 is 32643366.592746428 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/SD: time stamp 2024-08-09 05:47:28 is 32643366.592681575 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/STerm: time stamp 2024-08-09 05:47:28 is 32643366.5926024 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Sc: time stamp 2024-08-09 05:47:28 is 32643366.591798044 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Scx: time stamp 2024-08-09 05:47:28 is 32643366.590161314 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Term: time stamp 2024-08-09 05:47:28 is 32643366.590085386 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/UIdeo: time stamp 2024-08-09 05:47:28 is 32643366.590011189 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Upper: time stamp 2024-08-09 05:47:28 is 32643366.589920214 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/Vo: time stamp 2024-08-09 05:47:28 is 32643366.589743651 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/WB: time stamp 2024-08-09 05:47:28 is 32643366.589398728 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/XIDC: time stamp 2024-08-09 05:47:28 is 32643366.589292179 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/unicore/lib/XIDS: time stamp 2024-08-09 05:47:28 is 32643366.589198555 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base/warnings: time stamp 2024-08-09 05:47:28 is 32643366.589094455 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl-base: time stamp 2024-08-09 05:47:28 is 32643366.587239492 s in the future +tar: ./usr/lib/x86_64-linux-gnu/ldscripts: time stamp 2024-08-09 05:47:35 is 32643373.371208783 s in the future +tar: ./usr/lib/x86_64-linux-gnu/pkgconfig: time stamp 2024-08-09 05:47:45 is 32643383.190186712 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/B: time stamp 2024-08-09 05:47:44 is 32643382.107421868 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/CORE: time stamp 2024-08-09 05:47:44 is 32643382.065516862 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Compress/Raw: time stamp 2024-08-09 05:47:44 is 32643382.065056999 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Compress: time stamp 2024-08-09 05:47:44 is 32643382.065018597 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Data: time stamp 2024-08-09 05:47:44 is 32643382.064787787 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Devel: time stamp 2024-08-09 05:47:44 is 32643382.061991258 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Digest: time stamp 2024-08-09 05:47:44 is 32643382.061607324 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Encode/CN: time stamp 2024-08-09 05:47:44 is 32643382.061509084 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Encode/JP: time stamp 2024-08-09 05:47:44 is 32643382.061375235 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Encode/KR: time stamp 2024-08-09 05:47:44 is 32643382.061308413 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Encode/MIME/Header: time stamp 2024-08-09 05:47:44 is 32643382.06120563 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Encode/MIME: time stamp 2024-08-09 05:47:44 is 32643382.061078264 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Encode/Unicode: time stamp 2024-08-09 05:47:44 is 32643382.06101526 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Encode: time stamp 2024-08-09 05:47:44 is 32643382.060537829 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/File/Spec: time stamp 2024-08-09 05:47:44 is 32643382.059880783 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/File: time stamp 2024-08-09 05:47:44 is 32643382.059635462 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Filter/Util: time stamp 2024-08-09 05:47:44 is 32643382.059511101 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Filter: time stamp 2024-08-09 05:47:44 is 32643382.059479458 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Hash/Util: time stamp 2024-08-09 05:47:44 is 32643382.059308482 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Hash: time stamp 2024-08-09 05:47:44 is 32643382.059133384 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/I18N: time stamp 2024-08-09 05:47:44 is 32643382.059057135 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/IO/Socket: time stamp 2024-08-09 05:47:44 is 32643382.058866372 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/IO: time stamp 2024-08-09 05:47:44 is 32643382.058374635 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/IPC: time stamp 2024-08-09 05:47:44 is 32643382.058146596 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/List/Util: time stamp 2024-08-09 05:47:44 is 32643382.058054759 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/List: time stamp 2024-08-09 05:47:44 is 32643382.057958913 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/MIME: time stamp 2024-08-09 05:47:44 is 32643382.057847912 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Math/BigInt: time stamp 2024-08-09 05:47:44 is 32643382.057758387 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Math: time stamp 2024-08-09 05:47:44 is 32643382.057722336 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/PerlIO: time stamp 2024-08-09 05:47:44 is 32643382.057569277 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Scalar: time stamp 2024-08-09 05:47:44 is 32643382.057465302 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Sub: time stamp 2024-08-09 05:47:44 is 32643382.057378924 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Sys: time stamp 2024-08-09 05:47:44 is 32643382.057198984 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Time: time stamp 2024-08-09 05:47:44 is 32643382.056714201 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Unicode/Collate: time stamp 2024-08-09 05:47:44 is 32643382.056521853 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/Unicode: time stamp 2024-08-09 05:47:44 is 32643382.056007361 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/asm: time stamp 2024-08-09 05:47:44 is 32643382.055408729 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/asm-generic: time stamp 2024-08-09 05:47:44 is 32643382.055094585 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/B: time stamp 2024-08-09 05:47:44 is 32643382.054273008 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Compress/Raw/Bzip2: time stamp 2024-08-09 05:47:44 is 32643382.053945293 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Compress/Raw/Zlib: time stamp 2024-08-09 05:47:44 is 32643382.053420521 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Compress/Raw: time stamp 2024-08-09 05:47:44 is 32643382.053387321 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Compress: time stamp 2024-08-09 05:47:44 is 32643382.053361854 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Cwd: time stamp 2024-08-09 05:47:44 is 32643382.053255981 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/DB_File: time stamp 2024-08-09 05:47:44 is 32643382.052841305 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Data/Dumper: time stamp 2024-08-09 05:47:44 is 32643382.052552968 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Data: time stamp 2024-08-09 05:47:44 is 32643382.052519946 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Devel/Peek: time stamp 2024-08-09 05:47:44 is 32643382.052288844 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Devel: time stamp 2024-08-09 05:47:44 is 32643382.05225045 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Digest/MD5: time stamp 2024-08-09 05:47:44 is 32643382.052148426 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Digest/SHA: time stamp 2024-08-09 05:47:44 is 32643382.05173132 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Digest: time stamp 2024-08-09 05:47:44 is 32643382.051698337 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Encode/Byte: time stamp 2024-08-09 05:47:44 is 32643382.049337176 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Encode/CN: time stamp 2024-08-09 05:47:44 is 32643382.035959889 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Encode/EBCDIC: time stamp 2024-08-09 05:47:44 is 32643382.035715641 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Encode/JP: time stamp 2024-08-09 05:47:44 is 32643382.018638628 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Encode/KR: time stamp 2024-08-09 05:47:44 is 32643382.003643147 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Encode/Symbol: time stamp 2024-08-09 05:47:44 is 32643382.003250108 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Encode/TW: time stamp 2024-08-09 05:47:44 is 32643381.989917721 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Encode/Unicode: time stamp 2024-08-09 05:47:44 is 32643381.989694999 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Encode: time stamp 2024-08-09 05:47:44 is 32643381.98918118 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Fcntl: time stamp 2024-08-09 05:47:44 is 32643381.988917557 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/File/DosGlob: time stamp 2024-08-09 05:47:44 is 32643381.988786126 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/File/Glob: time stamp 2024-08-09 05:47:44 is 32643381.988662516 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/File: time stamp 2024-08-09 05:47:44 is 32643381.988631512 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Filter/Util/Call: time stamp 2024-08-09 05:47:44 is 32643381.988515562 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Filter/Util: time stamp 2024-08-09 05:47:44 is 32643381.988485136 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Filter: time stamp 2024-08-09 05:47:44 is 32643381.988460777 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/GDBM_File: time stamp 2024-08-09 05:47:44 is 32643381.988337241 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Hash/Util/FieldHash: time stamp 2024-08-09 05:47:44 is 32643381.988071851 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Hash/Util: time stamp 2024-08-09 05:47:44 is 32643381.987864303 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Hash: time stamp 2024-08-09 05:47:44 is 32643381.987833375 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/I18N/Langinfo: time stamp 2024-08-09 05:47:44 is 32643381.987724337 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/I18N: time stamp 2024-08-09 05:47:44 is 32643381.987693715 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/IO: time stamp 2024-08-09 05:47:44 is 32643381.987589001 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/IPC/SysV: time stamp 2024-08-09 05:47:44 is 32643381.987319863 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/IPC: time stamp 2024-08-09 05:47:44 is 32643381.987288433 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/List/Util: time stamp 2024-08-09 05:47:44 is 32643381.986790098 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/List: time stamp 2024-08-09 05:47:44 is 32643381.986754401 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/MIME/Base64: time stamp 2024-08-09 05:47:44 is 32643381.986652717 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/MIME: time stamp 2024-08-09 05:47:44 is 32643381.986607674 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Math/BigInt/FastCalc: time stamp 2024-08-09 05:47:44 is 32643381.98649418 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Math/BigInt: time stamp 2024-08-09 05:47:44 is 32643381.98645804 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Math: time stamp 2024-08-09 05:47:44 is 32643381.986434953 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/NDBM_File: time stamp 2024-08-09 05:47:44 is 32643381.986326733 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/ODBM_File: time stamp 2024-08-09 05:47:44 is 32643381.986136193 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Opcode: time stamp 2024-08-09 05:47:44 is 32643381.986008698 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/POSIX: time stamp 2024-08-09 05:47:44 is 32643381.985057165 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/PerlIO/encoding: time stamp 2024-08-09 05:47:44 is 32643381.984825149 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/PerlIO/mmap: time stamp 2024-08-09 05:47:44 is 32643381.984731026 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/PerlIO/scalar: time stamp 2024-08-09 05:47:44 is 32643381.984588386 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/PerlIO/via: time stamp 2024-08-09 05:47:44 is 32643381.984486602 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/PerlIO: time stamp 2024-08-09 05:47:44 is 32643381.98445346 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/SDBM_File: time stamp 2024-08-09 05:47:44 is 32643381.98428015 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Socket: time stamp 2024-08-09 05:47:44 is 32643381.98376179 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Storable: time stamp 2024-08-09 05:47:44 is 32643381.982880474 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Sys/Hostname: time stamp 2024-08-09 05:47:44 is 32643381.982677818 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Sys/Syslog: time stamp 2024-08-09 05:47:44 is 32643381.982584027 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Sys: time stamp 2024-08-09 05:47:44 is 32643381.982546461 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Time/HiRes: time stamp 2024-08-09 05:47:44 is 32643381.982183581 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Time/Piece: time stamp 2024-08-09 05:47:44 is 32643381.982081572 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Time: time stamp 2024-08-09 05:47:44 is 32643381.982041465 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Unicode/Collate: time stamp 2024-08-09 05:47:44 is 32643381.972756464 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Unicode/Normalize: time stamp 2024-08-09 05:47:44 is 32643381.969069498 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/Unicode: time stamp 2024-08-09 05:47:44 is 32643381.969031457 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/attributes: time stamp 2024-08-09 05:47:44 is 32643381.968851575 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/mro: time stamp 2024-08-09 05:47:44 is 32643381.968744807 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/re: time stamp 2024-08-09 05:47:44 is 32643381.962453698 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/threads/shared: time stamp 2024-08-09 05:47:44 is 32643381.962168106 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto/threads: time stamp 2024-08-09 05:47:44 is 32643381.961918509 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/auto: time stamp 2024-08-09 05:47:44 is 32643381.961885411 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/bits/types: time stamp 2024-08-09 05:47:44 is 32643381.961434584 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/bits: time stamp 2024-08-09 05:47:44 is 32643381.960172241 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/gnu: time stamp 2024-08-09 05:47:44 is 32643381.960084892 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/linux: time stamp 2024-08-09 05:47:44 is 32643381.959956349 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/sys: time stamp 2024-08-09 05:47:44 is 32643381.95956718 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1/threads: time stamp 2024-08-09 05:47:44 is 32643381.959454413 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/5.32.1: time stamp 2024-08-09 05:47:44 is 32643381.952689331 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/debian-config-data-5.32.1: time stamp 2024-08-09 05:47:44 is 32643381.952200479 s in the future +tar: ./usr/lib/x86_64-linux-gnu/libfakeroot: time stamp 2024-08-09 05:47:54 is 32643391.768645075 s in the future +tar: ./usr/lib/locale/C.UTF-8/LC_MESSAGES: time stamp 2024-08-09 05:47:22 is 32643359.768526073 s in the future +tar: ./usr/lib/locale/C.UTF-8: time stamp 2024-08-09 05:47:22 is 32643359.7532255 s in the future +tar: ./usr/lib/locale/aa_DJ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.753121447 s in the future +tar: ./usr/lib/locale/aa_DJ: time stamp 2024-08-09 05:47:58 is 32643395.750890252 s in the future +tar: ./usr/lib/locale/aa_DJ.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.750801269 s in the future +tar: ./usr/lib/locale/aa_DJ.utf8: time stamp 2024-08-09 05:47:58 is 32643395.730679229 s in the future +tar: ./usr/lib/locale/af_ZA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.72780898 s in the future +tar: ./usr/lib/locale/af_ZA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.727465287 s in the future +tar: ./usr/lib/locale/agr_PE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.727144306 s in the future +tar: ./usr/lib/locale/ak_GH/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.726807346 s in the future +tar: ./usr/lib/locale/am_ET/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.726467688 s in the future +tar: ./usr/lib/locale/an_ES/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.726303972 s in the future +tar: ./usr/lib/locale/an_ES: time stamp 2024-08-09 05:47:58 is 32643395.724253758 s in the future +tar: ./usr/lib/locale/an_ES.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.724058829 s in the future +tar: ./usr/lib/locale/anp_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.705982716 s in the future +tar: ./usr/lib/locale/ar_AE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.70378862 s in the future +tar: ./usr/lib/locale/ar_AE: time stamp 2024-08-09 05:47:58 is 32643395.701714572 s in the future +tar: ./usr/lib/locale/ar_AE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.701536045 s in the future +tar: ./usr/lib/locale/as_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.692843674 s in the future +tar: ./usr/lib/locale/ast_ES/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.690546434 s in the future +tar: ./usr/lib/locale/ast_ES.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.69023593 s in the future +tar: ./usr/lib/locale/ayc_PE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.689947537 s in the future +tar: ./usr/lib/locale/az_AZ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.689739314 s in the future +tar: ./usr/lib/locale/az_IR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.670508513 s in the future +tar: ./usr/lib/locale/be_BY/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.650221943 s in the future +tar: ./usr/lib/locale/be_BY: time stamp 2024-08-09 05:47:58 is 32643395.648090825 s in the future +tar: ./usr/lib/locale/be_BY.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.647906158 s in the future +tar: ./usr/lib/locale/be_BY@latin/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.629782826 s in the future +tar: ./usr/lib/locale/bem_ZM/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.627771649 s in the future +tar: ./usr/lib/locale/ber_DZ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.627421325 s in the future +tar: ./usr/lib/locale/ber_MA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.60942698 s in the future +tar: ./usr/lib/locale/bg_BG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.591167098 s in the future +tar: ./usr/lib/locale/bg_BG.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.590771956 s in the future +tar: ./usr/lib/locale/bhb_IN.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.57237267 s in the future +tar: ./usr/lib/locale/bho_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.57203727 s in the future +tar: ./usr/lib/locale/bi_VU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.571530737 s in the future +tar: ./usr/lib/locale/bn_BD/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.571160897 s in the future +tar: ./usr/lib/locale/bo_CN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.570589424 s in the future +tar: ./usr/lib/locale/br_FR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.551981924 s in the future +tar: ./usr/lib/locale/br_FR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.55156764 s in the future +tar: ./usr/lib/locale/br_FR@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.533567698 s in the future +tar: ./usr/lib/locale/bs_BA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.532901468 s in the future +tar: ./usr/lib/locale/bs_BA: time stamp 2024-08-09 05:47:58 is 32643395.53091509 s in the future +tar: ./usr/lib/locale/bs_BA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.530758154 s in the future +tar: ./usr/lib/locale/byn_ER/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.512445896 s in the future +tar: ./usr/lib/locale/ca_ES/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.511633681 s in the future +tar: ./usr/lib/locale/ce_RU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.509545566 s in the future +tar: ./usr/lib/locale/chr_US/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.509206987 s in the future +tar: ./usr/lib/locale/cmn_TW/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.50891362 s in the future +tar: ./usr/lib/locale/crh_UA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.471445287 s in the future +tar: ./usr/lib/locale/cs_CZ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.452344328 s in the future +tar: ./usr/lib/locale/cs_CZ.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.451899281 s in the future +tar: ./usr/lib/locale/csb_PL/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.433744967 s in the future +tar: ./usr/lib/locale/cy_GB/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.397649685 s in the future +tar: ./usr/lib/locale/cy_GB: time stamp 2024-08-09 05:47:58 is 32643395.395377449 s in the future +tar: ./usr/lib/locale/cy_GB.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.395146107 s in the future +tar: ./usr/lib/locale/da_DK/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.377254075 s in the future +tar: ./usr/lib/locale/da_DK.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.375077357 s in the future +tar: ./usr/lib/locale/de_AT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.354727018 s in the future +tar: ./usr/lib/locale/de_AT.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.352942025 s in the future +tar: ./usr/lib/locale/de_AT@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.350556466 s in the future +tar: ./usr/lib/locale/doi_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.34475911 s in the future +tar: ./usr/lib/locale/dsb_DE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.344486189 s in the future +tar: ./usr/lib/locale/dz_BT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.326406904 s in the future +tar: ./usr/lib/locale/el_CY/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.326099008 s in the future +tar: ./usr/lib/locale/el_CY: time stamp 2024-08-09 05:47:58 is 32643395.324209488 s in the future +tar: ./usr/lib/locale/el_CY.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.324011867 s in the future +tar: ./usr/lib/locale/en_AG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.32288534 s in the future +tar: ./usr/lib/locale/en_AU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.322552922 s in the future +tar: ./usr/lib/locale/en_CA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.321501727 s in the future +tar: ./usr/lib/locale/en_CA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.321096156 s in the future +tar: ./usr/lib/locale/en_DK/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.30323069 s in the future +tar: ./usr/lib/locale/en_DK.iso885915/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.302845153 s in the future +tar: ./usr/lib/locale/en_DK.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.302482761 s in the future +tar: ./usr/lib/locale/en_GB.iso885915/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.301977216 s in the future +tar: ./usr/lib/locale/eo/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.295298691 s in the future +tar: ./usr/lib/locale/es_AR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.277381163 s in the future +tar: ./usr/lib/locale/es_ES@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.272669149 s in the future +tar: ./usr/lib/locale/et_EE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.265861497 s in the future +tar: ./usr/lib/locale/et_EE.iso885915/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.265517277 s in the future +tar: ./usr/lib/locale/et_EE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.265132164 s in the future +tar: ./usr/lib/locale/eu_ES/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.247077384 s in the future +tar: ./usr/lib/locale/eu_ES.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.246705009 s in the future +tar: ./usr/lib/locale/eu_ES@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.24638451 s in the future +tar: ./usr/lib/locale/fa_IR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.245261195 s in the future +tar: ./usr/lib/locale/ff_SN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.244968335 s in the future +tar: ./usr/lib/locale/fi_FI/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.244601233 s in the future +tar: ./usr/lib/locale/fi_FI.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.244243372 s in the future +tar: ./usr/lib/locale/fi_FI@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.226038017 s in the future +tar: ./usr/lib/locale/fil_PH/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.225580196 s in the future +tar: ./usr/lib/locale/fo_FO/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.20756097 s in the future +tar: ./usr/lib/locale/fo_FO.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.207134982 s in the future +tar: ./usr/lib/locale/fr_BE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.206789462 s in the future +tar: ./usr/lib/locale/fr_BE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.206453392 s in the future +tar: ./usr/lib/locale/fr_BE@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.206122564 s in the future +tar: ./usr/lib/locale/fr_CA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.205844275 s in the future +tar: ./usr/lib/locale/fr_CA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.205469839 s in the future +tar: ./usr/lib/locale/fr_CH/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.187442764 s in the future +tar: ./usr/lib/locale/fr_CH.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.187057001 s in the future +tar: ./usr/lib/locale/fr_FR@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.18615761 s in the future +tar: ./usr/lib/locale/fur_IT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.18506053 s in the future +tar: ./usr/lib/locale/ga_IE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.166435232 s in the future +tar: ./usr/lib/locale/ga_IE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.166051434 s in the future +tar: ./usr/lib/locale/ga_IE@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.165721063 s in the future +tar: ./usr/lib/locale/gd_GB/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.165392643 s in the future +tar: ./usr/lib/locale/gd_GB.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.165059516 s in the future +tar: ./usr/lib/locale/gez_ET/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.146551405 s in the future +tar: ./usr/lib/locale/gl_ES/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.145907931 s in the future +tar: ./usr/lib/locale/gl_ES.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.145531765 s in the future +tar: ./usr/lib/locale/gl_ES@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.145257125 s in the future +tar: ./usr/lib/locale/gu_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.144900472 s in the future +tar: ./usr/lib/locale/gv_GB/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.14265575 s in the future +tar: ./usr/lib/locale/ha_NG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.141998175 s in the future +tar: ./usr/lib/locale/hak_TW/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.123960484 s in the future +tar: ./usr/lib/locale/he_IL/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.122180832 s in the future +tar: ./usr/lib/locale/he_IL: time stamp 2024-08-09 05:47:58 is 32643395.119957454 s in the future +tar: ./usr/lib/locale/he_IL.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.119671857 s in the future +tar: ./usr/lib/locale/hif_FJ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.119065771 s in the future +tar: ./usr/lib/locale/hne_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.118669657 s in the future +tar: ./usr/lib/locale/hsb_DE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.114407171 s in the future +tar: ./usr/lib/locale/hsb_DE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.112205648 s in the future +tar: ./usr/lib/locale/ht_HT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.093811984 s in the future +tar: ./usr/lib/locale/hu_HU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.093482773 s in the future +tar: ./usr/lib/locale/hu_HU.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.091430431 s in the future +tar: ./usr/lib/locale/hy_AM/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.070974451 s in the future +tar: ./usr/lib/locale/hy_AM.armscii8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.070688406 s in the future +tar: ./usr/lib/locale/hy_AM.armscii8: time stamp 2024-08-09 05:47:58 is 32643395.068812542 s in the future +tar: ./usr/lib/locale/ia_FR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.068539785 s in the future +tar: ./usr/lib/locale/id_ID/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.068241678 s in the future +tar: ./usr/lib/locale/id_ID.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.067889646 s in the future +tar: ./usr/lib/locale/ig_NG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.067542692 s in the future +tar: ./usr/lib/locale/ik_CA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.049355584 s in the future +tar: ./usr/lib/locale/is_IS/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.031417785 s in the future +tar: ./usr/lib/locale/is_IS.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.03092284 s in the future +tar: ./usr/lib/locale/it_CH/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.012795184 s in the future +tar: ./usr/lib/locale/it_IT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.012140373 s in the future +tar: ./usr/lib/locale/it_IT.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.011800721 s in the future +tar: ./usr/lib/locale/it_IT@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.011454125 s in the future +tar: ./usr/lib/locale/iu_CA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.011086489 s in the future +tar: ./usr/lib/locale/ja_JP.eucjp/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.010926007 s in the future +tar: ./usr/lib/locale/ja_JP.eucjp: time stamp 2024-08-09 05:47:58 is 32643395.00345261 s in the future +tar: ./usr/lib/locale/ja_JP.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643395.003268483 s in the future +tar: ./usr/lib/locale/ka_GE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.995016241 s in the future +tar: ./usr/lib/locale/ka_GE: time stamp 2024-08-09 05:47:58 is 32643394.992872753 s in the future +tar: ./usr/lib/locale/ka_GE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.992629437 s in the future +tar: ./usr/lib/locale/kk_KZ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.992112572 s in the future +tar: ./usr/lib/locale/kk_KZ: time stamp 2024-08-09 05:47:58 is 32643394.99009023 s in the future +tar: ./usr/lib/locale/kk_KZ.rk1048/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.989988017 s in the future +tar: ./usr/lib/locale/kk_KZ.rk1048: time stamp 2024-08-09 05:47:58 is 32643394.987831919 s in the future +tar: ./usr/lib/locale/kk_KZ.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.987612573 s in the future +tar: ./usr/lib/locale/kl_GL/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.969671136 s in the future +tar: ./usr/lib/locale/kl_GL.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.969208748 s in the future +tar: ./usr/lib/locale/km_KH/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.9689087 s in the future +tar: ./usr/lib/locale/kn_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.968454959 s in the future +tar: ./usr/lib/locale/ko_KR.euckr/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.966275279 s in the future +tar: ./usr/lib/locale/ko_KR.euckr: time stamp 2024-08-09 05:47:58 is 32643394.958474644 s in the future +tar: ./usr/lib/locale/ko_KR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.95826764 s in the future +tar: ./usr/lib/locale/kok_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.948899686 s in the future +tar: ./usr/lib/locale/ks_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.948538886 s in the future +tar: ./usr/lib/locale/ks_IN@devanagari/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.948203199 s in the future +tar: ./usr/lib/locale/ku_TR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.948006989 s in the future +tar: ./usr/lib/locale/ku_TR: time stamp 2024-08-09 05:47:58 is 32643394.946945554 s in the future +tar: ./usr/lib/locale/ku_TR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.946739537 s in the future +tar: ./usr/lib/locale/kw_GB/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.928448904 s in the future +tar: ./usr/lib/locale/kw_GB.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.928011895 s in the future +tar: ./usr/lib/locale/ky_KG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.927722675 s in the future +tar: ./usr/lib/locale/lb_LU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.909681511 s in the future +tar: ./usr/lib/locale/lg_UG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.907529994 s in the future +tar: ./usr/lib/locale/lg_UG: time stamp 2024-08-09 05:47:58 is 32643394.905386185 s in the future +tar: ./usr/lib/locale/lg_UG.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.905142746 s in the future +tar: ./usr/lib/locale/li_NL/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.904445866 s in the future +tar: ./usr/lib/locale/lij_IT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.90411836 s in the future +tar: ./usr/lib/locale/ln_CD/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.90386641 s in the future +tar: ./usr/lib/locale/lo_LA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.885963036 s in the future +tar: ./usr/lib/locale/lt_LT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.88557245 s in the future +tar: ./usr/lib/locale/lt_LT: time stamp 2024-08-09 05:47:58 is 32643394.883648605 s in the future +tar: ./usr/lib/locale/lt_LT.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.883409574 s in the future +tar: ./usr/lib/locale/lv_LV/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.865362072 s in the future +tar: ./usr/lib/locale/lv_LV.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.864916044 s in the future +tar: ./usr/lib/locale/lzh_TW/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.846768582 s in the future +tar: ./usr/lib/locale/mfe_MU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.845549892 s in the future +tar: ./usr/lib/locale/mg_MG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.845156138 s in the future +tar: ./usr/lib/locale/mg_MG.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.844809303 s in the future +tar: ./usr/lib/locale/mhr_RU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.844435923 s in the future +tar: ./usr/lib/locale/mi_NZ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.84417297 s in the future +tar: ./usr/lib/locale/mi_NZ.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.843735659 s in the future +tar: ./usr/lib/locale/mk_MK/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.825366371 s in the future +tar: ./usr/lib/locale/mk_MK: time stamp 2024-08-09 05:47:58 is 32643394.823378556 s in the future +tar: ./usr/lib/locale/mk_MK.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.823117431 s in the future +tar: ./usr/lib/locale/ml_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.822737232 s in the future +tar: ./usr/lib/locale/mn_MN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.802749217 s in the future +tar: ./usr/lib/locale/mnw_MM/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.800105586 s in the future +tar: ./usr/lib/locale/mr_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.797953594 s in the future +tar: ./usr/lib/locale/mt_MT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.779483091 s in the future +tar: ./usr/lib/locale/mt_MT: time stamp 2024-08-09 05:47:58 is 32643394.777493274 s in the future +tar: ./usr/lib/locale/mt_MT.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.777261525 s in the future +tar: ./usr/lib/locale/my_MM/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.759126366 s in the future +tar: ./usr/lib/locale/nan_TW/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.75867754 s in the future +tar: ./usr/lib/locale/nan_TW@latin/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.758388924 s in the future +tar: ./usr/lib/locale/nb_NO/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.740501724 s in the future +tar: ./usr/lib/locale/nb_NO.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.740034287 s in the future +tar: ./usr/lib/locale/ne_NP/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.721341167 s in the future +tar: ./usr/lib/locale/nhn_MX/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.720885247 s in the future +tar: ./usr/lib/locale/niu_NU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.720563822 s in the future +tar: ./usr/lib/locale/nl_BE@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.718996878 s in the future +tar: ./usr/lib/locale/nso_ZA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.716862957 s in the future +tar: ./usr/lib/locale/oc_FR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.716544846 s in the future +tar: ./usr/lib/locale/oc_FR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.716195323 s in the future +tar: ./usr/lib/locale/om_ET/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.715856943 s in the future +tar: ./usr/lib/locale/om_KE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.697656696 s in the future +tar: ./usr/lib/locale/or_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.696718889 s in the future +tar: ./usr/lib/locale/os_RU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.694095123 s in the future +tar: ./usr/lib/locale/pa_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.675670192 s in the future +tar: ./usr/lib/locale/pa_PK/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.673369529 s in the future +tar: ./usr/lib/locale/pap_AW/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.670932988 s in the future +tar: ./usr/lib/locale/pl_PL/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.67030678 s in the future +tar: ./usr/lib/locale/pl_PL.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.669844881 s in the future +tar: ./usr/lib/locale/ps_AF/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.651717429 s in the future +tar: ./usr/lib/locale/pt_BR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.631590536 s in the future +tar: ./usr/lib/locale/pt_BR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.631215519 s in the future +tar: ./usr/lib/locale/pt_PT@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.630252539 s in the future +tar: ./usr/lib/locale/quz_PE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.629896124 s in the future +tar: ./usr/lib/locale/ro_RO/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.629373417 s in the future +tar: ./usr/lib/locale/ro_RO.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.62731824 s in the future +tar: ./usr/lib/locale/ru_RU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.606682025 s in the future +tar: ./usr/lib/locale/ru_RU.cp1251/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.60628892 s in the future +tar: ./usr/lib/locale/ru_RU.koi8r/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.605967135 s in the future +tar: ./usr/lib/locale/ru_RU.koi8r: time stamp 2024-08-09 05:47:58 is 32643394.603936228 s in the future +tar: ./usr/lib/locale/ru_RU.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.603646158 s in the future +tar: ./usr/lib/locale/ru_UA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.603463649 s in the future +tar: ./usr/lib/locale/ru_UA: time stamp 2024-08-09 05:47:58 is 32643394.601477997 s in the future +tar: ./usr/lib/locale/rw_RW/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.600958819 s in the future +tar: ./usr/lib/locale/sa_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.600540744 s in the future +tar: ./usr/lib/locale/sah_RU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.600182404 s in the future +tar: ./usr/lib/locale/sat_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.582091025 s in the future +tar: ./usr/lib/locale/sc_IT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.581655143 s in the future +tar: ./usr/lib/locale/se_NO/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.58073281 s in the future +tar: ./usr/lib/locale/sgs_LT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.562648114 s in the future +tar: ./usr/lib/locale/si_LK/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.542036296 s in the future +tar: ./usr/lib/locale/sk_SK/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.523408486 s in the future +tar: ./usr/lib/locale/sk_SK.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.522935094 s in the future +tar: ./usr/lib/locale/sl_SI/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.522624649 s in the future +tar: ./usr/lib/locale/sl_SI.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.522202134 s in the future +tar: ./usr/lib/locale/sm_WS/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.504153545 s in the future +tar: ./usr/lib/locale/so_DJ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.503724306 s in the future +tar: ./usr/lib/locale/so_DJ.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.503349617 s in the future +tar: ./usr/lib/locale/so_KE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.50262468 s in the future +tar: ./usr/lib/locale/so_KE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.502254269 s in the future +tar: ./usr/lib/locale/sq_AL/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.501383131 s in the future +tar: ./usr/lib/locale/sq_AL.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.500979109 s in the future +tar: ./usr/lib/locale/sr_ME/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.482308839 s in the future +tar: ./usr/lib/locale/ss_ZA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.479533725 s in the future +tar: ./usr/lib/locale/sv_FI/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.478531162 s in the future +tar: ./usr/lib/locale/sv_FI.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.478137858 s in the future +tar: ./usr/lib/locale/sv_FI@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.460107858 s in the future +tar: ./usr/lib/locale/sw_KE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.457211094 s in the future +tar: ./usr/lib/locale/szl_PL/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.456532704 s in the future +tar: ./usr/lib/locale/ta_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.438435626 s in the future +tar: ./usr/lib/locale/te_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.435602996 s in the future +tar: ./usr/lib/locale/tg_TJ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.433505869 s in the future +tar: ./usr/lib/locale/tg_TJ: time stamp 2024-08-09 05:47:58 is 32643394.431334397 s in the future +tar: ./usr/lib/locale/tg_TJ.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.431061801 s in the future +tar: ./usr/lib/locale/th_TH/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.413101062 s in the future +tar: ./usr/lib/locale/th_TH: time stamp 2024-08-09 05:47:58 is 32643394.410869213 s in the future +tar: ./usr/lib/locale/th_TH.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.410654075 s in the future +tar: ./usr/lib/locale/tk_TM/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.40898467 s in the future +tar: ./usr/lib/locale/tl_PH/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.388433005 s in the future +tar: ./usr/lib/locale/tn_ZA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.387674781 s in the future +tar: ./usr/lib/locale/to_TO/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.387382918 s in the future +tar: ./usr/lib/locale/tpi_PG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.386987712 s in the future +tar: ./usr/lib/locale/tr_CY/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.38666527 s in the future +tar: ./usr/lib/locale/tr_CY.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.386286063 s in the future +tar: ./usr/lib/locale/ts_ZA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.367594743 s in the future +tar: ./usr/lib/locale/tt_RU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.367256877 s in the future +tar: ./usr/lib/locale/tt_RU@iqtelif/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.349168274 s in the future +tar: ./usr/lib/locale/ug_CN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.348839148 s in the future +tar: ./usr/lib/locale/uk_UA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.330922787 s in the future +tar: ./usr/lib/locale/uk_UA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.329054403 s in the future +tar: ./usr/lib/locale/unm_US/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.308749265 s in the future +tar: ./usr/lib/locale/ur_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.308367411 s in the future +tar: ./usr/lib/locale/ur_PK/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.308007088 s in the future +tar: ./usr/lib/locale/uz_UZ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.307770007 s in the future +tar: ./usr/lib/locale/uz_UZ.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.305597787 s in the future +tar: ./usr/lib/locale/uz_UZ@cyrillic/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.285296798 s in the future +tar: ./usr/lib/locale/ve_ZA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.282973489 s in the future +tar: ./usr/lib/locale/vi_VN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.282725463 s in the future +tar: ./usr/lib/locale/wa_BE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.262422346 s in the future +tar: ./usr/lib/locale/wa_BE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.2605731 s in the future +tar: ./usr/lib/locale/wa_BE@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.258379934 s in the future +tar: ./usr/lib/locale/wae_CH/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.25631823 s in the future +tar: ./usr/lib/locale/wo_SN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.255676026 s in the future +tar: ./usr/lib/locale/xh_ZA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.255313002 s in the future +tar: ./usr/lib/locale/xh_ZA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.254934864 s in the future +tar: ./usr/lib/locale/yi_US/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.254720001 s in the future +tar: ./usr/lib/locale/yi_US: time stamp 2024-08-09 05:47:58 is 32643394.252689992 s in the future +tar: ./usr/lib/locale/yi_US.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.252478805 s in the future +tar: ./usr/lib/locale/yo_NG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.231893431 s in the future +tar: ./usr/lib/locale/yue_HK/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.21375857 s in the future +tar: ./usr/lib/locale/yuw_PG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.211481451 s in the future +tar: ./usr/lib/locale/zh_CN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.211266112 s in the future +tar: ./usr/lib/locale/zh_CN: time stamp 2024-08-09 05:47:58 is 32643394.20635634 s in the future +tar: ./usr/lib/locale/zh_CN.gb18030/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.20622448 s in the future +tar: ./usr/lib/locale/zh_CN.gb18030: time stamp 2024-08-09 05:47:58 is 32643394.185383055 s in the future +tar: ./usr/lib/locale/zh_CN.gbk/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.185179511 s in the future +tar: ./usr/lib/locale/zh_CN.gbk: time stamp 2024-08-09 05:47:58 is 32643394.176628068 s in the future +tar: ./usr/lib/locale/zh_HK/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.155928495 s in the future +tar: ./usr/lib/locale/zh_HK: time stamp 2024-08-09 05:47:58 is 32643394.148458697 s in the future +tar: ./usr/lib/locale/zh_HK.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.148160036 s in the future +tar: ./usr/lib/locale/zh_TW/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.138712474 s in the future +tar: ./usr/lib/locale/zh_TW: time stamp 2024-08-09 05:47:58 is 32643394.132524983 s in the future +tar: ./usr/lib/locale/zh_TW.euctw/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.132382169 s in the future +tar: ./usr/lib/locale/zh_TW.euctw: time stamp 2024-08-09 05:47:58 is 32643394.124083439 s in the future +tar: ./usr/lib/locale/zu_ZA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.123448363 s in the future +tar: ./usr/lib/locale/zu_ZA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643394.123072479 s in the future +tar: ./usr/lib/tmpfiles.d: time stamp 2024-08-09 05:47:27 is 32643363.122906336 s in the future +tar: ./usr/lib/mime/packages: time stamp 2024-08-09 05:47:29 is 32643365.122801241 s in the future +tar: ./usr/lib/udev/rules.d: time stamp 2024-08-09 05:47:29 is 32643365.122688723 s in the future +tar: ./usr/lib/udev: time stamp 2024-08-09 05:47:29 is 32643365.12264624 s in the future +tar: ./usr/lib/gcc/x86_64-linux-gnu/10/plugin: time stamp 2024-08-09 05:47:41 is 32643376.630704962 s in the future +tar: ./usr/lib/gcc/x86_64-linux-gnu/10/include/sanitizer: time stamp 2024-08-09 05:47:43 is 32643378.395507247 s in the future +tar: ./usr/lib/gcc/x86_64-linux-gnu/10/include: time stamp 2024-08-09 05:47:43 is 32643378.385499154 s in the future +tar: ./usr/include/arpa: time stamp 2024-08-09 05:47:42 is 32643377.260470905 s in the future +tar: ./usr/include/finclude/x86_64-linux-gnu: time stamp 2024-08-09 05:47:42 is 32643377.260364216 s in the future +tar: ./usr/include/finclude: time stamp 2024-08-09 05:47:41 is 32643376.260341753 s in the future +tar: ./usr/include/net: time stamp 2024-08-09 05:47:42 is 32643377.260021086 s in the future +tar: ./usr/include/netash: time stamp 2024-08-09 05:47:42 is 32643377.259960532 s in the future +tar: ./usr/include/netatalk: time stamp 2024-08-09 05:47:42 is 32643377.259900033 s in the future +tar: ./usr/include/netax25: time stamp 2024-08-09 05:47:42 is 32643377.259815715 s in the future +tar: ./usr/include/neteconet: time stamp 2024-08-09 05:47:42 is 32643377.25974746 s in the future +tar: ./usr/include/netinet: time stamp 2024-08-09 05:47:42 is 32643377.259144096 s in the future +tar: ./usr/include/netipx: time stamp 2024-08-09 05:47:42 is 32643377.259072767 s in the future +tar: ./usr/include/netiucv: time stamp 2024-08-09 05:47:42 is 32643377.25901241 s in the future +tar: ./usr/include/netpacket: time stamp 2024-08-09 05:47:42 is 32643377.258945177 s in the future +tar: ./usr/include/netrom: time stamp 2024-08-09 05:47:42 is 32643377.258883032 s in the future +tar: ./usr/include/netrose: time stamp 2024-08-09 05:47:42 is 32643377.258815343 s in the future +tar: ./usr/include/nfs: time stamp 2024-08-09 05:47:42 is 32643377.258754106 s in the future +tar: ./usr/include/protocols: time stamp 2024-08-09 05:47:42 is 32643377.258599607 s in the future +tar: ./usr/include/rpc: time stamp 2024-08-09 05:47:42 is 32643377.258142067 s in the future +tar: ./usr/include/rpcsvc: time stamp 2024-08-09 05:47:43 is 32643378.256684304 s in the future +tar: ./usr/include/scsi: time stamp 2024-08-09 05:47:42 is 32643377.256539648 s in the future +tar: ./usr/include/x86_64-linux-gnu/bits/types: time stamp 2024-08-09 05:47:42 is 32643377.255639915 s in the future +tar: ./usr/include/x86_64-linux-gnu/bits: time stamp 2024-08-09 05:47:42 is 32643377.251350983 s in the future +tar: ./usr/include/x86_64-linux-gnu/gnu: time stamp 2024-08-09 05:47:42 is 32643377.251016039 s in the future +tar: ./usr/include/x86_64-linux-gnu/sys: time stamp 2024-08-09 05:47:42 is 32643377.248768545 s in the future +tar: ./usr/include/x86_64-linux-gnu/c++/10/bits: time stamp 2024-08-09 05:47:45 is 32643380.247673977 s in the future +tar: ./usr/include/x86_64-linux-gnu/c++/10/ext: time stamp 2024-08-09 05:47:45 is 32643380.247584214 s in the future +tar: ./usr/include/x86_64-linux-gnu/c++/10: time stamp 2024-08-09 05:47:45 is 32643380.247561079 s in the future +tar: ./usr/include/x86_64-linux-gnu/c++: time stamp 2024-08-09 05:47:45 is 32643380.247539316 s in the future +tar: ./usr/include/x86_64-linux-gnu/asm: time stamp 2024-08-09 05:47:46 is 32643381.245981083 s in the future +tar: ./usr/include/x86_64-linux-gnu: time stamp 2024-08-09 05:47:46 is 32643381.245950465 s in the future +tar: ./usr/include/c++/10/backward: time stamp 2024-08-09 05:47:45 is 32643380.238727732 s in the future +tar: ./usr/include/c++/10/bits: time stamp 2024-08-09 05:47:45 is 32643380.217151559 s in the future +tar: ./usr/include/c++/10/debug: time stamp 2024-08-09 05:47:45 is 32643380.214576773 s in the future +tar: ./usr/include/c++/10/decimal: time stamp 2024-08-09 05:47:45 is 32643380.214393773 s in the future +tar: ./usr/include/c++/10/experimental/bits: time stamp 2024-08-09 05:47:45 is 32643380.213851065 s in the future +tar: ./usr/include/c++/10/experimental: time stamp 2024-08-09 05:47:45 is 32643380.211251241 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/bin_search_tree_: time stamp 2024-08-09 05:47:45 is 32643380.210642796 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/binary_heap_: time stamp 2024-08-09 05:47:45 is 32643380.210114198 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/binomial_heap_: time stamp 2024-08-09 05:47:45 is 32643380.209985811 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/binomial_heap_base_: time stamp 2024-08-09 05:47:45 is 32643380.209750186 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/branch_policy: time stamp 2024-08-09 05:47:45 is 32643380.20962971 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/cc_hash_table_map_: time stamp 2024-08-09 05:47:45 is 32643380.208863702 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/eq_fn: time stamp 2024-08-09 05:47:45 is 32643380.208758091 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/gp_hash_table_map_: time stamp 2024-08-09 05:47:45 is 32643380.208091119 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/hash_fn: time stamp 2024-08-09 05:47:45 is 32643380.207683402 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/left_child_next_sibling_heap_: time stamp 2024-08-09 05:47:45 is 32643380.207301996 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/list_update_map_: time stamp 2024-08-09 05:47:45 is 32643380.206953955 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/list_update_policy: time stamp 2024-08-09 05:47:45 is 32643380.206855242 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/ov_tree_map_: time stamp 2024-08-09 05:47:45 is 32643380.206494016 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/pairing_heap_: time stamp 2024-08-09 05:47:45 is 32643380.206262628 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/pat_trie_: time stamp 2024-08-09 05:47:45 is 32643380.20552867 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/rb_tree_map_: time stamp 2024-08-09 05:47:45 is 32643380.205108773 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/rc_binomial_heap_: time stamp 2024-08-09 05:47:45 is 32643380.204837531 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/resize_policy: time stamp 2024-08-09 05:47:45 is 32643380.204535551 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/splay_tree_: time stamp 2024-08-09 05:47:45 is 32643380.204180777 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/thin_heap_: time stamp 2024-08-09 05:47:45 is 32643380.203904516 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/tree_policy: time stamp 2024-08-09 05:47:45 is 32643380.203771871 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/trie_policy: time stamp 2024-08-09 05:47:45 is 32643380.203534677 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail/unordered_iterator: time stamp 2024-08-09 05:47:45 is 32643380.203386542 s in the future +tar: ./usr/include/c++/10/ext/pb_ds/detail: time stamp 2024-08-09 05:47:45 is 32643380.20308748 s in the future +tar: ./usr/include/c++/10/ext/pb_ds: time stamp 2024-08-09 05:47:45 is 32643380.202636892 s in the future +tar: ./usr/include/c++/10/ext: time stamp 2024-08-09 05:47:45 is 32643380.197709357 s in the future +tar: ./usr/include/c++/10/parallel: time stamp 2024-08-09 05:47:45 is 32643380.194683132 s in the future +tar: ./usr/include/c++/10/pstl: time stamp 2024-08-09 05:47:45 is 32643380.192220798 s in the future +tar: ./usr/include/c++/10/tr1: time stamp 2024-08-09 05:47:45 is 32643380.187897535 s in the future +tar: ./usr/include/c++/10/tr2: time stamp 2024-08-09 05:47:45 is 32643380.187477669 s in the future +tar: ./usr/include/c++/10: time stamp 2024-08-09 05:47:45 is 32643380.178198315 s in the future +tar: ./usr/include/c++: time stamp 2024-08-09 05:47:44 is 32643379.178159125 s in the future +tar: ./usr/include/tirpc/rpc: time stamp 2024-08-09 05:47:45 is 32643380.176860409 s in the future +tar: ./usr/include/tirpc/rpcsvc: time stamp 2024-08-09 05:47:45 is 32643380.176752647 s in the future +tar: ./usr/include/tirpc: time stamp 2024-08-09 05:47:45 is 32643380.176709076 s in the future +tar: ./usr/include/asm-generic: time stamp 2024-08-09 05:47:46 is 32643381.175779105 s in the future +tar: ./usr/include/linux/android: time stamp 2024-08-09 05:47:46 is 32643381.175640087 s in the future +tar: ./usr/include/linux/byteorder: time stamp 2024-08-09 05:47:46 is 32643381.17554915 s in the future +tar: ./usr/include/linux/caif: time stamp 2024-08-09 05:47:46 is 32643381.175456498 s in the future +tar: ./usr/include/linux/can: time stamp 2024-08-09 05:47:46 is 32643381.17521334 s in the future +tar: ./usr/include/linux/cifs: time stamp 2024-08-09 05:47:46 is 32643381.174971007 s in the future +tar: ./usr/include/linux/dvb: time stamp 2024-08-09 05:47:46 is 32643381.174658976 s in the future +tar: ./usr/include/linux/genwqe: time stamp 2024-08-09 05:47:46 is 32643381.174572112 s in the future +tar: ./usr/include/linux/hdlc: time stamp 2024-08-09 05:47:46 is 32643381.174507395 s in the future +tar: ./usr/include/linux/hsi: time stamp 2024-08-09 05:47:46 is 32643381.174419548 s in the future +tar: ./usr/include/linux/iio: time stamp 2024-08-09 05:47:46 is 32643381.174332565 s in the future +tar: ./usr/include/linux/isdn: time stamp 2024-08-09 05:47:46 is 32643381.174268506 s in the future +tar: ./usr/include/linux/mmc: time stamp 2024-08-09 05:47:46 is 32643381.174201067 s in the future +tar: ./usr/include/linux/netfilter/ipset: time stamp 2024-08-09 05:47:46 is 32643381.174045218 s in the future +tar: ./usr/include/linux/netfilter: time stamp 2024-08-09 05:47:46 is 32643381.171936902 s in the future +tar: ./usr/include/linux/netfilter_arp: time stamp 2024-08-09 05:47:46 is 32643381.171823356 s in the future +tar: ./usr/include/linux/netfilter_bridge: time stamp 2024-08-09 05:47:46 is 32643381.171390762 s in the future +tar: ./usr/include/linux/netfilter_ipv4: time stamp 2024-08-09 05:47:46 is 32643381.171113567 s in the future +tar: ./usr/include/linux/netfilter_ipv6: time stamp 2024-08-09 05:47:46 is 32643381.170775234 s in the future +tar: ./usr/include/linux/nfsd: time stamp 2024-08-09 05:47:46 is 32643381.170598743 s in the future +tar: ./usr/include/linux/raid: time stamp 2024-08-09 05:47:46 is 32643381.17048459 s in the future +tar: ./usr/include/linux/sched: time stamp 2024-08-09 05:47:46 is 32643381.170406463 s in the future +tar: ./usr/include/linux/spi: time stamp 2024-08-09 05:47:46 is 32643381.170342081 s in the future +tar: ./usr/include/linux/sunrpc: time stamp 2024-08-09 05:47:46 is 32643381.170270728 s in the future +tar: ./usr/include/linux/tc_act: time stamp 2024-08-09 05:47:46 is 32643381.169818043 s in the future +tar: ./usr/include/linux/tc_ematch: time stamp 2024-08-09 05:47:46 is 32643381.16966898 s in the future +tar: ./usr/include/linux/usb: time stamp 2024-08-09 05:47:46 is 32643381.168997745 s in the future +tar: ./usr/include/linux/wimax: time stamp 2024-08-09 05:47:46 is 32643381.168783288 s in the future +tar: ./usr/include/linux: time stamp 2024-08-09 05:47:46 is 32643381.140335944 s in the future +tar: ./usr/include/misc/uacce: time stamp 2024-08-09 05:47:46 is 32643381.140089404 s in the future +tar: ./usr/include/misc: time stamp 2024-08-09 05:47:46 is 32643381.139874593 s in the future +tar: ./usr/include/mtd: time stamp 2024-08-09 05:47:46 is 32643381.13966558 s in the future +tar: ./usr/include/rdma/hfi: time stamp 2024-08-09 05:47:46 is 32643381.139357027 s in the future +tar: ./usr/include/rdma: time stamp 2024-08-09 05:47:46 is 32643381.138423338 s in the future +tar: ./usr/include/sound/sof: time stamp 2024-08-09 05:47:46 is 32643381.13826217 s in the future +tar: ./usr/include/sound: time stamp 2024-08-09 05:47:46 is 32643381.137070707 s in the future +tar: ./usr/include/video: time stamp 2024-08-09 05:47:46 is 32643381.136860479 s in the future +tar: ./usr/include/xen: time stamp 2024-08-09 05:47:46 is 32643381.13670487 s in the future +tar: ./usr/include: time stamp 2024-08-09 05:47:46 is 32643381.136661601 s in the future +tar: ./usr/libexec/coreutils: time stamp 2024-08-09 05:47:19 is 32643354.136510733 s in the future +tar: ./usr/local/share/man: time stamp 2024-08-09 05:47:16 is 32643351.136420504 s in the future +tar: ./usr/local/share: time stamp 2024-08-09 05:47:16 is 32643351.136398536 s in the future +tar: ./usr/local/bin: time stamp 2024-08-09 05:47:16 is 32643351.136358737 s in the future +tar: ./usr/local/games: time stamp 2024-08-09 05:47:16 is 32643351.136319631 s in the future +tar: ./usr/local/lib: time stamp 2024-08-09 05:47:16 is 32643351.136279956 s in the future +tar: ./usr/local/include: time stamp 2024-08-09 05:47:16 is 32643351.136241161 s in the future +tar: ./usr/local/sbin: time stamp 2024-08-09 05:47:16 is 32643351.136202509 s in the future +tar: ./usr/local/src: time stamp 2024-08-09 05:47:16 is 32643351.136164301 s in the future +tar: ./usr/local/etc: time stamp 2024-08-09 05:47:16 is 32643351.136124651 s in the future +tar: ./usr/local/man: time stamp 2024-08-09 05:47:16 is 32643351.136093581 s in the future +tar: ./usr/local: time stamp 2024-08-09 05:47:16 is 32643351.136053581 s in the future +tar: ./var/lib/apt/lists/auxfiles: time stamp 2024-08-09 05:47:48 is 32643382.814947035 s in the future +tar: ./var/lib/apt/lists/lock: time stamp 2024-08-09 05:47:48 is 32643382.814875852 s in the future +tar: ./var/lib/apt/lists: time stamp 2024-08-09 05:47:48 is 32643382.814859655 s in the future +tar: ./var/lib/apt/extended_states: time stamp 2024-08-09 05:47:52 is 32643386.814699987 s in the future +tar: ./var/lib/apt: time stamp 2024-08-09 05:47:52 is 32643386.81467828 s in the future +tar: ./var/lib/dpkg/alternatives/awk: time stamp 2024-08-09 05:47:29 is 32643363.814605934 s in the future +tar: ./var/lib/dpkg/alternatives/builtins.7.gz: time stamp 2024-08-09 05:47:30 is 32643364.814579069 s in the future +tar: ./var/lib/dpkg/alternatives/rmt: time stamp 2024-08-09 05:47:30 is 32643364.814552008 s in the future +tar: ./var/lib/dpkg/alternatives/pager: time stamp 2024-08-09 05:47:33 is 32643367.814519516 s in the future +tar: ./var/lib/dpkg/alternatives/lzma: time stamp 2024-08-09 05:47:47 is 32643381.814485914 s in the future +tar: ./var/lib/dpkg/alternatives/cpp: time stamp 2024-08-09 05:47:47 is 32643381.814460693 s in the future +tar: ./var/lib/dpkg/alternatives/cc: time stamp 2024-08-09 05:47:47 is 32643381.81443506 s in the future +tar: ./var/lib/dpkg/alternatives/c89: time stamp 2024-08-09 05:47:47 is 32643381.814388561 s in the future +tar: ./var/lib/dpkg/alternatives/c99: time stamp 2024-08-09 05:47:47 is 32643381.814354237 s in the future +tar: ./var/lib/dpkg/alternatives/c++: time stamp 2024-08-09 05:47:47 is 32643381.814327795 s in the future +tar: ./var/lib/dpkg/alternatives/fakeroot: time stamp 2024-08-09 05:47:58 is 32643392.814281231 s in the future +tar: ./var/lib/dpkg/alternatives/aptitude: time stamp 2024-08-09 05:47:58 is 32643392.814255149 s in the future +tar: ./var/lib/dpkg/alternatives: time stamp 2024-08-09 05:47:58 is 32643392.814240796 s in the future +tar: ./var/lib/dpkg/info/format: time stamp 2024-08-09 05:47:15 is 32643349.814188605 s in the future +tar: ./var/lib/dpkg/info/adduser.list: time stamp 2024-08-09 05:47:18 is 32643352.814151664 s in the future +tar: ./var/lib/dpkg/info/apt.list: time stamp 2024-08-09 05:47:18 is 32643352.813927735 s in the future +tar: ./var/lib/dpkg/info/base-files.list: time stamp 2024-08-09 05:47:19 is 32643353.813691888 s in the future +tar: ./var/lib/dpkg/info/base-passwd.list: time stamp 2024-08-09 05:47:19 is 32643353.813589341 s in the future +tar: ./var/lib/dpkg/info/bash.list: time stamp 2024-08-09 05:47:19 is 32643353.812970261 s in the future +tar: ./var/lib/dpkg/info/bsdutils.list: time stamp 2024-08-09 05:47:19 is 32643353.812783272 s in the future +tar: ./var/lib/dpkg/info/coreutils.list: time stamp 2024-08-09 05:47:19 is 32643353.81254137 s in the future +tar: ./var/lib/dpkg/info/dash.list: time stamp 2024-08-09 05:47:19 is 32643353.812389378 s in the future +tar: ./var/lib/dpkg/info/debconf.list: time stamp 2024-08-09 05:47:20 is 32643354.812218892 s in the future +tar: ./var/lib/dpkg/info/debian-archive-keyring.list: time stamp 2024-08-09 05:47:20 is 32643354.810812612 s in the future +tar: ./var/lib/dpkg/info/debianutils.list: time stamp 2024-08-09 05:47:20 is 32643354.810639202 s in the future +tar: ./var/lib/dpkg/info/diffutils.list: time stamp 2024-08-09 05:47:20 is 32643354.810529061 s in the future +tar: ./var/lib/dpkg/info/dpkg.list: time stamp 2024-08-09 05:47:20 is 32643354.810466336 s in the future +tar: ./var/lib/dpkg/info/e2fsprogs.list: time stamp 2024-08-09 05:47:20 is 32643354.81036503 s in the future +tar: ./var/lib/dpkg/info/findutils.list: time stamp 2024-08-09 05:47:20 is 32643354.810191247 s in the future +tar: ./var/lib/dpkg/info/gcc-10-base:amd64.list: time stamp 2024-08-09 05:47:21 is 32643355.81004712 s in the future +tar: ./var/lib/dpkg/info/gcc-9-base:amd64.list: time stamp 2024-08-09 05:47:21 is 32643355.809977972 s in the future +tar: ./var/lib/dpkg/info/gpgv.list: time stamp 2024-08-09 05:47:21 is 32643355.809931501 s in the future +tar: ./var/lib/dpkg/info/grep.list: time stamp 2024-08-09 05:47:21 is 32643355.809873838 s in the future +tar: ./var/lib/dpkg/info/gzip.list: time stamp 2024-08-09 05:47:21 is 32643355.809826913 s in the future +tar: ./var/lib/dpkg/info/hostname.list: time stamp 2024-08-09 05:47:21 is 32643355.809774593 s in the future +tar: ./var/lib/dpkg/info/init-system-helpers.list: time stamp 2024-08-09 05:47:21 is 32643355.809718249 s in the future +tar: ./var/lib/dpkg/info/libacl1:amd64.list: time stamp 2024-08-09 05:47:21 is 32643355.809657835 s in the future +tar: ./var/lib/dpkg/info/libapt-pkg6.0:amd64.list: time stamp 2024-08-09 05:47:21 is 32643355.809531126 s in the future +tar: ./var/lib/dpkg/info/libattr1:amd64.list: time stamp 2024-08-09 05:47:21 is 32643355.808930055 s in the future +tar: ./var/lib/dpkg/info/libaudit-common.list: time stamp 2024-08-09 05:47:21 is 32643355.808786654 s in the future +tar: ./var/lib/dpkg/info/libaudit1:amd64.list: time stamp 2024-08-09 05:47:21 is 32643355.808721158 s in the future +tar: ./var/lib/dpkg/info/libblkid1:amd64.list: time stamp 2024-08-09 05:47:21 is 32643355.808607151 s in the future +tar: ./var/lib/dpkg/info/libbz2-1.0:amd64.list: time stamp 2024-08-09 05:47:21 is 32643355.808473486 s in the future +tar: ./var/lib/dpkg/info/libc-bin.list: time stamp 2024-08-09 05:47:22 is 32643356.808387418 s in the future +tar: ./var/lib/dpkg/info/libc6:amd64.list: time stamp 2024-08-09 05:47:22 is 32643356.808255402 s in the future +tar: ./var/lib/dpkg/info/libcap-ng0:amd64.list: time stamp 2024-08-09 05:47:22 is 32643356.806693322 s in the future +tar: ./var/lib/dpkg/info/libcom-err2:amd64.list: time stamp 2024-08-09 05:47:23 is 32643357.806579291 s in the future +tar: ./var/lib/dpkg/info/libcrypt1:amd64.list: time stamp 2024-08-09 05:47:23 is 32643357.806464001 s in the future +tar: ./var/lib/dpkg/info/libdb5.3:amd64.list: time stamp 2024-08-09 05:47:23 is 32643357.806358797 s in the future +tar: ./var/lib/dpkg/info/libdebconfclient0:amd64.list: time stamp 2024-08-09 05:47:23 is 32643357.806260764 s in the future +tar: ./var/lib/dpkg/info/libext2fs2:amd64.list: time stamp 2024-08-09 05:47:23 is 32643357.806131745 s in the future +tar: ./var/lib/dpkg/info/libffi7:amd64.list: time stamp 2024-08-09 05:47:23 is 32643357.805979535 s in the future +tar: ./var/lib/dpkg/info/libgcc-s1:amd64.list: time stamp 2024-08-09 05:47:23 is 32643357.805865033 s in the future +tar: ./var/lib/dpkg/info/libgcrypt20:amd64.list: time stamp 2024-08-09 05:47:23 is 32643357.805751188 s in the future +tar: ./var/lib/dpkg/info/libgmp10:amd64.list: time stamp 2024-08-09 05:47:23 is 32643357.80562953 s in the future +tar: ./var/lib/dpkg/info/libgnutls30:amd64.list: time stamp 2024-08-09 05:47:23 is 32643357.805489092 s in the future +tar: ./var/lib/dpkg/info/libgpg-error0:amd64.list: time stamp 2024-08-09 05:47:23 is 32643357.805278136 s in the future +tar: ./var/lib/dpkg/info/libgssapi-krb5-2:amd64.list: time stamp 2024-08-09 05:47:23 is 32643357.805160619 s in the future +tar: ./var/lib/dpkg/info/libhogweed6:amd64.list: time stamp 2024-08-09 05:47:23 is 32643357.804969974 s in the future +tar: ./var/lib/dpkg/info/libidn2-0:amd64.list: time stamp 2024-08-09 05:47:24 is 32643358.804846384 s in the future +tar: ./var/lib/dpkg/info/libk5crypto3:amd64.list: time stamp 2024-08-09 05:47:24 is 32643358.804730816 s in the future +tar: ./var/lib/dpkg/info/libkeyutils1:amd64.list: time stamp 2024-08-09 05:47:24 is 32643358.804612087 s in the future +tar: ./var/lib/dpkg/info/libkrb5-3:amd64.list: time stamp 2024-08-09 05:47:24 is 32643358.804489896 s in the future +tar: ./var/lib/dpkg/info/libkrb5support0:amd64.list: time stamp 2024-08-09 05:47:24 is 32643358.804331845 s in the future +tar: ./var/lib/dpkg/info/liblz4-1:amd64.list: time stamp 2024-08-09 05:47:24 is 32643358.804219382 s in the future +tar: ./var/lib/dpkg/info/liblzma5:amd64.list: time stamp 2024-08-09 05:47:24 is 32643358.804101349 s in the future +tar: ./var/lib/dpkg/info/libmount1:amd64.list: time stamp 2024-08-09 05:47:24 is 32643358.803974234 s in the future +tar: ./var/lib/dpkg/info/libnettle8:amd64.list: time stamp 2024-08-09 05:47:24 is 32643358.803827185 s in the future +tar: ./var/lib/dpkg/info/libnsl2:amd64.list: time stamp 2024-08-09 05:47:24 is 32643358.8036886 s in the future +tar: ./var/lib/dpkg/info/libp11-kit0:amd64.list: time stamp 2024-08-09 05:47:24 is 32643358.80357354 s in the future +tar: ./var/lib/dpkg/info/libpam-modules:amd64.list: time stamp 2024-08-09 05:47:25 is 32643359.803445409 s in the future +tar: ./var/lib/dpkg/info/libpam-modules-bin.list: time stamp 2024-08-09 05:47:25 is 32643359.803249107 s in the future +tar: ./var/lib/dpkg/info/libpam-runtime.list: time stamp 2024-08-09 05:47:25 is 32643359.803031053 s in the future +tar: ./var/lib/dpkg/info/libpam0g:amd64.list: time stamp 2024-08-09 05:47:25 is 32643359.802810959 s in the future +tar: ./var/lib/dpkg/info/libpcre2-8-0:amd64.list: time stamp 2024-08-09 05:47:25 is 32643359.802466706 s in the future +tar: ./var/lib/dpkg/info/libpcre3:amd64.list: time stamp 2024-08-09 05:47:25 is 32643359.802352772 s in the future +tar: ./var/lib/dpkg/info/libseccomp2:amd64.list: time stamp 2024-08-09 05:47:25 is 32643359.802241845 s in the future +tar: ./var/lib/dpkg/info/libselinux1:amd64.list: time stamp 2024-08-09 05:47:25 is 32643359.802116187 s in the future +tar: ./var/lib/dpkg/info/libsemanage-common.list: time stamp 2024-08-09 05:47:25 is 32643359.801975259 s in the future +tar: ./var/lib/dpkg/info/libsemanage1:amd64.list: time stamp 2024-08-09 05:47:25 is 32643359.801908791 s in the future +tar: ./var/lib/dpkg/info/libsepol1:amd64.list: time stamp 2024-08-09 05:47:25 is 32643359.801760997 s in the future +tar: ./var/lib/dpkg/info/libsmartcols1:amd64.list: time stamp 2024-08-09 05:47:25 is 32643359.801631259 s in the future +tar: ./var/lib/dpkg/info/libss2:amd64.list: time stamp 2024-08-09 05:47:25 is 32643359.80149588 s in the future +tar: ./var/lib/dpkg/info/libssl1.1:amd64.list: time stamp 2024-08-09 05:47:26 is 32643360.801372954 s in the future +tar: ./var/lib/dpkg/info/libstdc++6:amd64.list: time stamp 2024-08-09 05:47:26 is 32643360.80019987 s in the future +tar: ./var/lib/dpkg/info/libsystemd0:amd64.list: time stamp 2024-08-09 05:47:26 is 32643360.798294119 s in the future +tar: ./var/lib/dpkg/info/libtasn1-6:amd64.list: time stamp 2024-08-09 05:47:26 is 32643360.798134758 s in the future +tar: ./var/lib/dpkg/info/libtinfo6:amd64.list: time stamp 2024-08-09 05:47:26 is 32643360.798025159 s in the future +tar: ./var/lib/dpkg/info/libtirpc-common.list: time stamp 2024-08-09 05:47:26 is 32643360.797894733 s in the future +tar: ./var/lib/dpkg/info/libtirpc3:amd64.list: time stamp 2024-08-09 05:47:26 is 32643360.797813131 s in the future +tar: ./var/lib/dpkg/info/libudev1:amd64.list: time stamp 2024-08-09 05:47:26 is 32643360.797692122 s in the future +tar: ./var/lib/dpkg/info/libunistring2:amd64.list: time stamp 2024-08-09 05:47:26 is 32643360.797573288 s in the future +tar: ./var/lib/dpkg/info/libuuid1:amd64.list: time stamp 2024-08-09 05:47:26 is 32643360.797425844 s in the future +tar: ./var/lib/dpkg/info/libxxhash0:amd64.list: time stamp 2024-08-09 05:47:26 is 32643360.797319563 s in the future +tar: ./var/lib/dpkg/info/libzstd1:amd64.list: time stamp 2024-08-09 05:47:26 is 32643360.797208672 s in the future +tar: ./var/lib/dpkg/info/login.list: time stamp 2024-08-09 05:47:27 is 32643361.797094953 s in the future +tar: ./var/lib/dpkg/info/logsave.list: time stamp 2024-08-09 05:47:27 is 32643361.796909801 s in the future +tar: ./var/lib/dpkg/info/lsb-base.list: time stamp 2024-08-09 05:47:27 is 32643361.79685788 s in the future +tar: ./var/lib/dpkg/info/mawk.list: time stamp 2024-08-09 05:47:27 is 32643361.796811786 s in the future +tar: ./var/lib/dpkg/info/mount.list: time stamp 2024-08-09 05:47:27 is 32643361.796696799 s in the future +tar: ./var/lib/dpkg/info/ncurses-base.list: time stamp 2024-08-09 05:47:27 is 32643361.796643964 s in the future +tar: ./var/lib/dpkg/info/ncurses-bin.list: time stamp 2024-08-09 05:47:27 is 32643361.796565394 s in the future +tar: ./var/lib/dpkg/info/passwd.list: time stamp 2024-08-09 05:47:27 is 32643361.796495163 s in the future +tar: ./var/lib/dpkg/info/perl-base.list: time stamp 2024-08-09 05:47:28 is 32643362.796128389 s in the future +tar: ./var/lib/dpkg/info/sed.list: time stamp 2024-08-09 05:47:28 is 32643362.795716835 s in the future +tar: ./var/lib/dpkg/info/sysvinit-utils.list: time stamp 2024-08-09 05:47:28 is 32643362.795657042 s in the future +tar: ./var/lib/dpkg/info/tar.list: time stamp 2024-08-09 05:47:28 is 32643362.795599511 s in the future +tar: ./var/lib/dpkg/info/tzdata.list: time stamp 2024-08-09 05:47:28 is 32643362.795169729 s in the future +tar: ./var/lib/dpkg/info/util-linux.list: time stamp 2024-08-09 05:47:29 is 32643363.792750534 s in the future +tar: ./var/lib/dpkg/info/zlib1g:amd64.list: time stamp 2024-08-09 05:47:29 is 32643363.792475489 s in the future +tar: ./var/lib/dpkg/info/binutils.list: time stamp 2024-08-09 05:47:34 is 32643368.792358014 s in the future +tar: ./var/lib/dpkg/info/binutils-common:amd64.list: time stamp 2024-08-09 05:47:35 is 32643369.792298853 s in the future +tar: ./var/lib/dpkg/info/binutils-x86-64-linux-gnu.list: time stamp 2024-08-09 05:47:35 is 32643369.792223587 s in the future +tar: ./var/lib/dpkg/info/build-essential.list: time stamp 2024-08-09 05:47:35 is 32643369.792079095 s in the future +tar: ./var/lib/dpkg/info/bzip2.list: time stamp 2024-08-09 05:47:35 is 32643369.792022009 s in the future +tar: ./var/lib/dpkg/info/cpp.list: time stamp 2024-08-09 05:47:35 is 32643369.791976901 s in the future +tar: ./var/lib/dpkg/info/cpp-10.list: time stamp 2024-08-09 05:47:37 is 32643371.791891284 s in the future +tar: ./var/lib/dpkg/info/dpkg-dev.list: time stamp 2024-08-09 05:47:37 is 32643371.791817576 s in the future +tar: ./var/lib/dpkg/info/g++.list: time stamp 2024-08-09 05:47:37 is 32643371.79169188 s in the future +tar: ./var/lib/dpkg/info/g++-10.list: time stamp 2024-08-09 05:47:38 is 32643372.791598057 s in the future +tar: ./var/lib/dpkg/info/gcc.list: time stamp 2024-08-09 05:47:38 is 32643372.791552947 s in the future +tar: ./var/lib/dpkg/info/gcc-10.list: time stamp 2024-08-09 05:47:41 is 32643375.791468604 s in the future +tar: ./var/lib/dpkg/info/libasan6:amd64.list: time stamp 2024-08-09 05:47:41 is 32643375.791416796 s in the future +tar: ./var/lib/dpkg/info/libatomic1:amd64.list: time stamp 2024-08-09 05:47:41 is 32643375.791083173 s in the future +tar: ./var/lib/dpkg/info/libbinutils:amd64.list: time stamp 2024-08-09 05:47:41 is 32643375.790960003 s in the future +tar: ./var/lib/dpkg/info/libc-dev-bin.list: time stamp 2024-08-09 05:47:41 is 32643375.790873982 s in the future +tar: ./var/lib/dpkg/info/libc6-dev:amd64.list: time stamp 2024-08-09 05:47:42 is 32643376.790793989 s in the future +tar: ./var/lib/dpkg/info/libcc1-0:amd64.list: time stamp 2024-08-09 05:47:42 is 32643376.790681467 s in the future +tar: ./var/lib/dpkg/info/libcrypt-dev:amd64.list: time stamp 2024-08-09 05:47:42 is 32643376.790566381 s in the future +tar: ./var/lib/dpkg/info/libctf-nobfd0:amd64.list: time stamp 2024-08-09 05:47:42 is 32643376.790521686 s in the future +tar: ./var/lib/dpkg/info/libctf0:amd64.list: time stamp 2024-08-09 05:47:42 is 32643376.790430611 s in the future +tar: ./var/lib/dpkg/info/libdpkg-perl.list: time stamp 2024-08-09 05:47:42 is 32643376.790336838 s in the future +tar: ./var/lib/dpkg/info/libgcc-10-dev:amd64.list: time stamp 2024-08-09 05:47:43 is 32643377.790259824 s in the future +tar: ./var/lib/dpkg/info/libgdbm-compat4:amd64.list: time stamp 2024-08-09 05:47:43 is 32643377.790194851 s in the future +tar: ./var/lib/dpkg/info/libgdbm6:amd64.list: time stamp 2024-08-09 05:47:43 is 32643377.790091184 s in the future +tar: ./var/lib/dpkg/info/libgomp1:amd64.list: time stamp 2024-08-09 05:47:43 is 32643377.789956209 s in the future +tar: ./var/lib/dpkg/info/libisl23:amd64.list: time stamp 2024-08-09 05:47:43 is 32643377.789822626 s in the future +tar: ./var/lib/dpkg/info/libitm1:amd64.list: time stamp 2024-08-09 05:47:43 is 32643377.788976313 s in the future +tar: ./var/lib/dpkg/info/liblsan0:amd64.list: time stamp 2024-08-09 05:47:43 is 32643377.788852647 s in the future +tar: ./var/lib/dpkg/info/libmpc3:amd64.list: time stamp 2024-08-09 05:47:43 is 32643377.788736861 s in the future +tar: ./var/lib/dpkg/info/libmpfr6:amd64.list: time stamp 2024-08-09 05:47:43 is 32643377.788633544 s in the future +tar: ./var/lib/dpkg/info/libnsl-dev:amd64.list: time stamp 2024-08-09 05:47:43 is 32643377.788481686 s in the future +tar: ./var/lib/dpkg/info/libperl5.32:amd64.list: time stamp 2024-08-09 05:47:44 is 32643378.788373177 s in the future +tar: ./var/lib/dpkg/info/libquadmath0:amd64.list: time stamp 2024-08-09 05:47:44 is 32643378.787753001 s in the future +tar: ./var/lib/dpkg/info/libstdc++-10-dev:amd64.list: time stamp 2024-08-09 05:47:45 is 32643379.78749835 s in the future +tar: ./var/lib/dpkg/info/libtirpc-dev:amd64.list: time stamp 2024-08-09 05:47:45 is 32643379.786957083 s in the future +tar: ./var/lib/dpkg/info/libtsan0:amd64.list: time stamp 2024-08-09 05:47:45 is 32643379.786887312 s in the future +tar: ./var/lib/dpkg/info/libubsan1:amd64.list: time stamp 2024-08-09 05:47:46 is 32643380.786567071 s in the future +tar: ./var/lib/dpkg/info/linux-libc-dev:amd64.list: time stamp 2024-08-09 05:47:46 is 32643380.786155929 s in the future +tar: ./var/lib/dpkg/info/make.list: time stamp 2024-08-09 05:47:46 is 32643380.785616483 s in the future +tar: ./var/lib/dpkg/info/patch.list: time stamp 2024-08-09 05:47:46 is 32643380.785558908 s in the future +tar: ./var/lib/dpkg/info/perl.list: time stamp 2024-08-09 05:47:46 is 32643380.78551261 s in the future +tar: ./var/lib/dpkg/info/perl-modules-5.32.list: time stamp 2024-08-09 05:47:47 is 32643381.785266012 s in the future +tar: ./var/lib/dpkg/info/xz-utils.list: time stamp 2024-08-09 05:47:47 is 32643381.784407619 s in the future +tar: ./var/lib/dpkg/info/libc-l10n.list: time stamp 2024-08-09 05:47:52 is 32643386.784238305 s in the future +tar: ./var/lib/dpkg/info/aptitude-common.list: time stamp 2024-08-09 05:47:53 is 32643387.78416943 s in the future +tar: ./var/lib/dpkg/info/libboost-iostreams1.74.0:amd64.list: time stamp 2024-08-09 05:47:53 is 32643387.784084389 s in the future +tar: ./var/lib/dpkg/info/libncursesw6:amd64.list: time stamp 2024-08-09 05:47:53 is 32643387.783977801 s in the future +tar: ./var/lib/dpkg/info/libsigc++-2.0-0v5:amd64.list: time stamp 2024-08-09 05:47:53 is 32643387.783824048 s in the future +tar: ./var/lib/dpkg/info/libcwidget4:amd64.list: time stamp 2024-08-09 05:47:53 is 32643387.783646301 s in the future +tar: ./var/lib/dpkg/info/libsqlite3-0:amd64.list: time stamp 2024-08-09 05:47:53 is 32643387.783548567 s in the future +tar: ./var/lib/dpkg/info/libxapian30:amd64.list: time stamp 2024-08-09 05:47:53 is 32643387.783416413 s in the future +tar: ./var/lib/dpkg/info/aptitude.list: time stamp 2024-08-09 05:47:53 is 32643387.783324774 s in the future +tar: ./var/lib/dpkg/info/libfuse2:amd64.list: time stamp 2024-08-09 05:47:53 is 32643387.783103164 s in the future +tar: ./var/lib/dpkg/info/fuse.list: time stamp 2024-08-09 05:47:53 is 32643387.78297194 s in the future +tar: ./var/lib/dpkg/info/disorderfs.list: time stamp 2024-08-09 05:47:53 is 32643387.782834417 s in the future +tar: ./var/lib/dpkg/info/libfakeroot:amd64.list: time stamp 2024-08-09 05:47:54 is 32643388.782783195 s in the future +tar: ./var/lib/dpkg/info/fakeroot.list: time stamp 2024-08-09 05:47:54 is 32643388.782661674 s in the future +tar: ./var/lib/dpkg/info/locales-all.list: time stamp 2024-08-09 05:47:58 is 32643392.78149755 s in the future +tar: ./var/lib/dpkg/info: time stamp 2024-08-09 05:47:58 is 32643392.779742948 s in the future +tar: ./var/lib/dpkg/updates: time stamp 2024-08-09 05:47:58 is 32643392.779533528 s in the future +tar: ./var/lib/dpkg/available: time stamp 2024-08-09 05:47:34 is 32643368.778906559 s in the future +tar: ./var/lib/dpkg/lock-frontend: time stamp 2024-08-09 05:47:47 is 32643381.778872992 s in the future +tar: ./var/lib/dpkg/lock: time stamp 2024-08-09 05:47:58 is 32643392.778852195 s in the future +tar: ./var/lib/dpkg/triggers/Lock: time stamp 2024-08-09 05:47:58 is 32643392.778807169 s in the future +tar: ./var/lib/dpkg/triggers/Unincorp: time stamp 2024-08-09 05:47:15 is 32643349.77878762 s in the future +tar: ./var/lib/dpkg/triggers/ldconfig: time stamp 2024-08-09 05:47:22 is 32643356.778761936 s in the future +tar: ./var/lib/dpkg/triggers: time stamp 2024-08-09 05:47:22 is 32643356.778747141 s in the future +tar: ./var/lib/dpkg/cmethopt: time stamp 2024-08-09 05:47:29 is 32643363.778712199 s in the future +tar: ./var/lib/dpkg/diversions-old: time stamp 2024-08-09 05:47:31 is 32643365.778686156 s in the future +tar: ./var/lib/dpkg/diversions: time stamp 2024-08-09 05:47:31 is 32643365.778660246 s in the future +tar: ./var/lib/dpkg/status-old: time stamp 2024-08-09 05:47:58 is 32643392.7777745 s in the future +tar: ./var/lib/dpkg/status: time stamp 2024-08-09 05:47:58 is 32643392.776885567 s in the future +tar: ./var/lib/dpkg: time stamp 2024-08-09 05:47:58 is 32643392.776859385 s in the future +tar: ./var/lib/systemd/deb-systemd-helper-enabled/e2scrub_all.timer.dsh-also: time stamp 2024-08-09 05:47:30 is 32643364.776741258 s in the future +tar: ./var/lib/systemd/deb-systemd-helper-enabled/timers.target.wants/e2scrub_all.timer: time stamp 2024-08-09 05:47:30 is 32643364.776700714 s in the future +tar: ./var/lib/systemd/deb-systemd-helper-enabled/timers.target.wants/apt-daily-upgrade.timer: time stamp 2024-08-09 05:47:33 is 32643367.776679535 s in the future +tar: ./var/lib/systemd/deb-systemd-helper-enabled/timers.target.wants/apt-daily.timer: time stamp 2024-08-09 05:47:33 is 32643367.776639336 s in the future +tar: ./var/lib/systemd/deb-systemd-helper-enabled/timers.target.wants/fstrim.timer: time stamp 2024-08-09 05:47:33 is 32643367.776618909 s in the future +tar: ./var/lib/systemd/deb-systemd-helper-enabled/timers.target.wants: time stamp 2024-08-09 05:47:33 is 32643367.776603916 s in the future +tar: ./var/lib/systemd/deb-systemd-helper-enabled/e2scrub_reap.service.dsh-also: time stamp 2024-08-09 05:47:30 is 32643364.776569886 s in the future +tar: ./var/lib/systemd/deb-systemd-helper-enabled/default.target.wants/e2scrub_reap.service: time stamp 2024-08-09 05:47:30 is 32643364.776518112 s in the future +tar: ./var/lib/systemd/deb-systemd-helper-enabled/default.target.wants: time stamp 2024-08-09 05:47:30 is 32643364.776494984 s in the future +tar: ./var/lib/systemd/deb-systemd-helper-enabled/apt-daily-upgrade.timer.dsh-also: time stamp 2024-08-09 05:47:33 is 32643367.77646021 s in the future +tar: ./var/lib/systemd/deb-systemd-helper-enabled/apt-daily.timer.dsh-also: time stamp 2024-08-09 05:47:33 is 32643367.776434199 s in the future +tar: ./var/lib/systemd/deb-systemd-helper-enabled/fstrim.timer.dsh-also: time stamp 2024-08-09 05:47:33 is 32643367.776396277 s in the future +tar: ./var/lib/systemd/deb-systemd-helper-enabled: time stamp 2024-08-09 05:47:33 is 32643367.776379712 s in the future +tar: ./var/lib/systemd: time stamp 2024-08-09 05:47:30 is 32643364.776356911 s in the future +tar: ./var/lib/pam/seen: time stamp 2024-08-09 05:47:32 is 32643366.776295622 s in the future +tar: ./var/lib/pam/auth: time stamp 2024-08-09 05:47:32 is 32643366.776263734 s in the future +tar: ./var/lib/pam/account: time stamp 2024-08-09 05:47:32 is 32643366.776231227 s in the future +tar: ./var/lib/pam/password: time stamp 2024-08-09 05:47:32 is 32643366.776194855 s in the future +tar: ./var/lib/pam/session: time stamp 2024-08-09 05:47:32 is 32643366.776160247 s in the future +tar: ./var/lib/pam/session-noninteractive: time stamp 2024-08-09 05:47:32 is 32643366.77613156 s in the future +tar: ./var/lib/pam: time stamp 2024-08-09 05:47:32 is 32643366.776117307 s in the future +tar: ./var/lib: time stamp 2024-08-09 05:47:53 is 32643387.776062384 s in the future +tar: ./var/cache/apt/archives/partial: time stamp 2024-08-09 05:47:52 is 32643386.775918688 s in the future +tar: ./var/cache/apt/archives/lock: time stamp 2024-08-09 05:47:50 is 32643384.775888335 s in the future +tar: ./var/cache/apt/archives: time stamp 2024-08-09 05:47:58 is 32643392.775873668 s in the future +tar: ./var/cache/debconf/templates.dat: time stamp 2024-08-09 05:48:21 is 32643415.770489017 s in the future +tar: ./var/cache/debconf/templates.dat-old: time stamp 2024-08-09 05:47:48 is 32643382.764906272 s in the future +tar: ./var/cache/debconf/config.dat: time stamp 2024-08-09 05:48:21 is 32643415.764852999 s in the future +tar: ./var/cache/debconf/config.dat-old: time stamp 2024-08-09 05:47:48 is 32643382.764711799 s in the future +tar: ./var/cache/debconf/passwords.dat: time stamp 2024-08-09 05:47:15 is 32643349.764683093 s in the future +tar: ./var/cache/debconf: time stamp 2024-08-09 05:48:21 is 32643415.764669401 s in the future +tar: ./var/cache/ldconfig/aux-cache: time stamp 2024-08-09 05:47:58 is 32643392.764553916 s in the future +tar: ./var/cache/ldconfig: time stamp 2024-08-09 05:47:58 is 32643392.764540115 s in the future +tar: ./var/cache: time stamp 2024-08-09 05:47:15 is 32643349.764530183 s in the future +tar: ./var/log/apt/eipp.log.xz: time stamp 2024-08-09 05:47:52 is 32643386.764438998 s in the future +tar: ./var/log/apt/term.log: time stamp 2024-08-09 05:47:58 is 32643392.76438238 s in the future +tar: ./var/log/apt/history.log: time stamp 2024-08-09 05:47:58 is 32643392.764341127 s in the future +tar: ./var/log/apt: time stamp 2024-08-09 05:47:52 is 32643386.764326125 s in the future +tar: ./var/log/dpkg.log: time stamp 2024-08-09 05:47:58 is 32643392.764057165 s in the future +tar: ./var/log/wtmp: time stamp 2024-08-09 05:47:16 is 32643350.764005141 s in the future +tar: ./var/log/btmp: time stamp 2024-08-09 05:47:16 is 32643350.76398377 s in the future +tar: ./var/log/lastlog: time stamp 2024-08-09 05:47:32 is 32643366.763816556 s in the future +tar: ./var/log/alternatives.log: time stamp 2024-08-09 05:47:58 is 32643392.763756675 s in the future +tar: ./var/log/faillog: time stamp 2024-08-09 05:47:32 is 32643366.763729917 s in the future +tar: ./var/log/bootstrap.log: time stamp 2024-08-09 05:47:47 is 32643381.763484112 s in the future +tar: ./var/log: time stamp 2024-08-09 05:47:47 is 32643381.763462559 s in the future +tar: ./var/opt: time stamp 2024-08-09 05:47:16 is 32643350.763218757 s in the future +tar: ./var/mail: time stamp 2024-08-09 05:47:16 is 32643350.762983677 s in the future +tar: ./var/spool/mail: time stamp 2024-08-09 05:47:16 is 32643350.762926151 s in the future +tar: ./var/run: time stamp 2024-08-09 05:47:16 is 32643350.762897017 s in the future +tar: ./var/lock: time stamp 2024-08-09 05:47:16 is 32643350.762869315 s in the future +tar: ./usr/bin/awk: time stamp 2024-08-09 05:47:18 is 32643352.685364159 s in the future +tar: ./usr/bin/nawk: time stamp 2024-08-09 05:47:18 is 32643352.685308479 s in the future +tar: ./usr/bin/touch: time stamp 2024-08-09 05:47:30 is 32643364.685280106 s in the future +tar: ./usr/bin/pager: time stamp 2024-08-09 05:47:33 is 32643367.685251707 s in the future +tar: ./usr/bin/lzma: time stamp 2024-08-09 05:47:47 is 32643381.685223084 s in the future +tar: ./usr/bin/unlzma: time stamp 2024-08-09 05:47:47 is 32643381.685195114 s in the future +tar: ./usr/bin/lzcat: time stamp 2024-08-09 05:47:47 is 32643381.685167235 s in the future +tar: ./usr/bin/lzmore: time stamp 2024-08-09 05:47:47 is 32643381.685139435 s in the future +tar: ./usr/bin/lzless: time stamp 2024-08-09 05:47:47 is 32643381.685111584 s in the future +tar: ./usr/bin/lzdiff: time stamp 2024-08-09 05:47:47 is 32643381.685082308 s in the future +tar: ./usr/bin/lzcmp: time stamp 2024-08-09 05:47:47 is 32643381.685054965 s in the future +tar: ./usr/bin/lzgrep: time stamp 2024-08-09 05:47:47 is 32643381.685027555 s in the future +tar: ./usr/bin/lzegrep: time stamp 2024-08-09 05:47:47 is 32643381.68499933 s in the future +tar: ./usr/bin/lzfgrep: time stamp 2024-08-09 05:47:47 is 32643381.68497066 s in the future +tar: ./usr/bin/cc: time stamp 2024-08-09 05:47:47 is 32643381.684943225 s in the future +tar: ./usr/bin/c89: time stamp 2024-08-09 05:47:47 is 32643381.684915597 s in the future +tar: ./usr/bin/c99: time stamp 2024-08-09 05:47:47 is 32643381.68488779 s in the future +tar: ./usr/bin/c++: time stamp 2024-08-09 05:47:47 is 32643381.684860092 s in the future +tar: ./usr/bin/fakeroot: time stamp 2024-08-09 05:47:58 is 32643392.684832752 s in the future +tar: ./usr/bin/aptitude: time stamp 2024-08-09 05:47:58 is 32643392.684805279 s in the future +tar: ./usr/share/man/gl/man8/aptitude.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.681661895 s in the future +tar: ./usr/share/man/fi/man8/aptitude.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.681623308 s in the future +tar: ./usr/share/man/cs/man8/aptitude.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.681591559 s in the future +tar: ./usr/share/man/man7/builtins.7.gz: time stamp 2024-08-09 05:47:30 is 32643364.681560962 s in the future +tar: ./usr/share/man/man1/awk.1.gz: time stamp 2024-08-09 05:47:18 is 32643352.681530819 s in the future +tar: ./usr/share/man/man1/nawk.1.gz: time stamp 2024-08-09 05:47:18 is 32643352.681501871 s in the future +tar: ./usr/share/man/man1/pager.1.gz: time stamp 2024-08-09 05:47:33 is 32643367.681428181 s in the future +tar: ./usr/share/man/man1/lzma.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.681399259 s in the future +tar: ./usr/share/man/man1/unlzma.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.681370271 s in the future +tar: ./usr/share/man/man1/lzcat.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.681341577 s in the future +tar: ./usr/share/man/man1/lzmore.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.681312556 s in the future +tar: ./usr/share/man/man1/lzless.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.681283286 s in the future +tar: ./usr/share/man/man1/lzdiff.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.681255083 s in the future +tar: ./usr/share/man/man1/lzcmp.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.681226466 s in the future +tar: ./usr/share/man/man1/lzgrep.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.681198205 s in the future +tar: ./usr/share/man/man1/lzegrep.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.681170006 s in the future +tar: ./usr/share/man/man1/lzfgrep.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.681141266 s in the future +tar: ./usr/share/man/man1/c89.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.681112546 s in the future +tar: ./usr/share/man/man1/c99.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.681083748 s in the future +tar: ./usr/share/man/man1/fakeroot.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.681054851 s in the future +tar: ./usr/share/man/man1/faked.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.681026245 s in the future +tar: ./usr/share/man/ja/man8/aptitude.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.680996133 s in the future +tar: ./usr/share/man/sv/man1/fakeroot.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.680965145 s in the future +tar: ./usr/share/man/sv/man1/faked.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.680935396 s in the future +tar: ./usr/share/man/pl/man8/aptitude.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.680904446 s in the future +tar: ./usr/share/man/man8/rmt.8.gz: time stamp 2024-08-09 05:47:30 is 32643364.6808744 s in the future +tar: ./usr/share/man/man8/aptitude.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.680845332 s in the future +tar: ./usr/share/man/it/man8/aptitude.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.680815276 s in the future +tar: ./usr/share/man/fr/man1/fakeroot.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.68078546 s in the future +tar: ./usr/share/man/fr/man1/faked.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.680756037 s in the future +tar: ./usr/share/man/fr/man8/aptitude.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.680726129 s in the future +tar: ./usr/share/man/es/man1/fakeroot.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.680695447 s in the future +tar: ./usr/share/man/es/man1/faked.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.680666637 s in the future +tar: ./usr/share/man/es/man8/aptitude.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.680636424 s in the future +tar: ./usr/share/man/de/man8/aptitude.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.680605561 s in the future +tar: ./usr/sbin/rmt: time stamp 2024-08-09 05:47:30 is 32643364.679393065 s in the future +tar: ./lib/cpp: time stamp 2024-08-09 05:47:47 is 32643381.679317813 s in the future +tar: ./etc/systemd/system/default.target.wants/e2scrub_reap.service: time stamp 2024-08-09 05:47:30 is 32643364.67926573 s in the future +tar: ./etc/systemd/system/timers.target.wants/e2scrub_all.timer: time stamp 2024-08-09 05:47:30 is 32643364.679232591 s in the future +tar: ./etc/systemd/system/timers.target.wants/apt-daily-upgrade.timer: time stamp 2024-08-09 05:47:33 is 32643367.679203081 s in the future +tar: ./etc/systemd/system/timers.target.wants/apt-daily.timer: time stamp 2024-08-09 05:47:33 is 32643367.679076179 s in the future +tar: ./etc/systemd/system/timers.target.wants/fstrim.timer: time stamp 2024-08-09 05:47:33 is 32643367.679045494 s in the future +tar: ./etc/rcS.d/S01hwclock.sh: time stamp 2024-08-09 05:47:33 is 32643367.679015317 s in the future +tar: ./etc/rc6.d/K01hwclock.sh: time stamp 2024-08-09 05:47:33 is 32643367.678986991 s in the future +tar: ./etc/rc0.d/K01hwclock.sh: time stamp 2024-08-09 05:47:33 is 32643367.678958165 s in the future +tar: ./etc/alternatives/awk: time stamp 2024-08-09 05:47:18 is 32643352.678929723 s in the future +tar: ./etc/alternatives/awk.1.gz: time stamp 2024-08-09 05:47:18 is 32643352.678901287 s in the future +tar: ./etc/alternatives/nawk: time stamp 2024-08-09 05:47:18 is 32643352.67887295 s in the future +tar: ./etc/alternatives/nawk.1.gz: time stamp 2024-08-09 05:47:18 is 32643352.678844062 s in the future +tar: ./etc/alternatives/builtins.7.gz: time stamp 2024-08-09 05:47:30 is 32643364.678816059 s in the future +tar: ./etc/alternatives/rmt: time stamp 2024-08-09 05:47:30 is 32643364.678788036 s in the future +tar: ./etc/alternatives/rmt.8.gz: time stamp 2024-08-09 05:47:30 is 32643364.678758683 s in the future +tar: ./etc/alternatives/pager: time stamp 2024-08-09 05:47:33 is 32643367.678730506 s in the future +tar: ./etc/alternatives/pager.1.gz: time stamp 2024-08-09 05:47:33 is 32643367.678702867 s in the future +tar: ./etc/alternatives/lzma: time stamp 2024-08-09 05:47:47 is 32643381.678674998 s in the future +tar: ./etc/alternatives/lzma.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.678646779 s in the future +tar: ./etc/alternatives/unlzma: time stamp 2024-08-09 05:47:47 is 32643381.678618608 s in the future +tar: ./etc/alternatives/unlzma.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.678590155 s in the future +tar: ./etc/alternatives/lzcat: time stamp 2024-08-09 05:47:47 is 32643381.678562051 s in the future +tar: ./etc/alternatives/lzcat.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.678534616 s in the future +tar: ./etc/alternatives/lzmore: time stamp 2024-08-09 05:47:47 is 32643381.678506569 s in the future +tar: ./etc/alternatives/lzmore.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.678478588 s in the future +tar: ./etc/alternatives/lzless: time stamp 2024-08-09 05:47:47 is 32643381.678450961 s in the future +tar: ./etc/alternatives/lzless.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.678423531 s in the future +tar: ./etc/alternatives/lzdiff: time stamp 2024-08-09 05:47:47 is 32643381.678395735 s in the future +tar: ./etc/alternatives/lzdiff.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.678368413 s in the future +tar: ./etc/alternatives/lzcmp: time stamp 2024-08-09 05:47:47 is 32643381.678340832 s in the future +tar: ./etc/alternatives/lzcmp.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.678313388 s in the future +tar: ./etc/alternatives/lzgrep: time stamp 2024-08-09 05:47:47 is 32643381.678285181 s in the future +tar: ./etc/alternatives/lzgrep.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.678257523 s in the future +tar: ./etc/alternatives/lzegrep: time stamp 2024-08-09 05:47:47 is 32643381.678229774 s in the future +tar: ./etc/alternatives/lzegrep.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.678202443 s in the future +tar: ./etc/alternatives/lzfgrep: time stamp 2024-08-09 05:47:47 is 32643381.678174747 s in the future +tar: ./etc/alternatives/lzfgrep.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.67814736 s in the future +tar: ./etc/alternatives/cpp: time stamp 2024-08-09 05:47:47 is 32643381.678119265 s in the future +tar: ./etc/alternatives/cc: time stamp 2024-08-09 05:47:47 is 32643381.678092001 s in the future +tar: ./etc/alternatives/c89: time stamp 2024-08-09 05:47:47 is 32643381.678063455 s in the future +tar: ./etc/alternatives/c89.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.678035576 s in the future +tar: ./etc/alternatives/c99: time stamp 2024-08-09 05:47:47 is 32643381.678007829 s in the future +tar: ./etc/alternatives/c99.1.gz: time stamp 2024-08-09 05:47:47 is 32643381.677977907 s in the future +tar: ./etc/alternatives/c++: time stamp 2024-08-09 05:47:47 is 32643381.677949794 s in the future +tar: ./etc/alternatives/fakeroot: time stamp 2024-08-09 05:47:58 is 32643392.677921179 s in the future +tar: ./etc/alternatives/fakeroot.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.677893351 s in the future +tar: ./etc/alternatives/faked.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.677865617 s in the future +tar: ./etc/alternatives/fakeroot.es.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.677837416 s in the future +tar: ./etc/alternatives/faked.es.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.677809479 s in the future +tar: ./etc/alternatives/fakeroot.fr.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.677780049 s in the future +tar: ./etc/alternatives/faked.fr.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.677751725 s in the future +tar: ./etc/alternatives/fakeroot.sv.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.677723858 s in the future +tar: ./etc/alternatives/faked.sv.1.gz: time stamp 2024-08-09 05:47:58 is 32643392.677696145 s in the future +tar: ./etc/alternatives/aptitude: time stamp 2024-08-09 05:47:58 is 32643392.677667865 s in the future +tar: ./etc/alternatives/aptitude.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.677640113 s in the future +tar: ./etc/alternatives/aptitude.cs.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.677612123 s in the future +tar: ./etc/alternatives/aptitude.de.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.677584082 s in the future +tar: ./etc/alternatives/aptitude.es.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.67755627 s in the future +tar: ./etc/alternatives/aptitude.fi.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.677528417 s in the future +tar: ./etc/alternatives/aptitude.fr.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.677501088 s in the future +tar: ./etc/alternatives/aptitude.gl.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.677473312 s in the future +tar: ./etc/alternatives/aptitude.it.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.677446029 s in the future +tar: ./etc/alternatives/aptitude.ja.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.677418649 s in the future +tar: ./etc/alternatives/aptitude.pl.8.gz: time stamp 2024-08-09 05:47:58 is 32643392.677390859 s in the future +tar: ./etc/localtime: time stamp 2024-08-09 05:47:31 is 32643365.677318869 s in the future +tar: ./etc/mtab: time stamp 2024-08-09 05:47:48 is 32643382.677291515 s in the future +tar: ./dev/fd: time stamp 2024-08-09 05:47:15 is 32643349.677262779 s in the future +tar: ./dev/stdin: time stamp 2024-08-09 05:47:15 is 32643349.677235399 s in the future +tar: ./dev/stdout: time stamp 2024-08-09 05:47:15 is 32643349.677208423 s in the future +tar: ./dev/stderr: time stamp 2024-08-09 05:47:15 is 32643349.677181553 s in the future +tar: ./var/spool: time stamp 2024-08-09 05:47:16 is 32643350.677139519 s in the future +tar: ./var: time stamp 2024-08-09 05:47:16 is 32643350.677106219 s in the future +tar: ./usr/lib/bfd-plugins: time stamp 2024-08-09 05:47:38 is 32643372.677083162 s in the future +tar: ./usr/lib/gcc/x86_64-linux-gnu/10: time stamp 2024-08-09 05:47:45 is 32643379.677059219 s in the future +tar: ./usr/lib/gcc/x86_64-linux-gnu: time stamp 2024-08-09 05:47:35 is 32643369.677036329 s in the future +tar: ./usr/lib/gcc: time stamp 2024-08-09 05:47:35 is 32643369.67701386 s in the future +tar: ./usr/lib/gold-ld: time stamp 2024-08-09 05:47:34 is 32643368.676991392 s in the future +tar: ./usr/lib/compat-ld: time stamp 2024-08-09 05:47:34 is 32643368.6769685 s in the future +tar: ./usr/lib/locale/zu_ZA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.676945578 s in the future +tar: ./usr/lib/locale/zu_ZA: time stamp 2024-08-09 05:47:58 is 32643392.676923134 s in the future +tar: ./usr/lib/locale/zh_TW.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.676899124 s in the future +tar: ./usr/lib/locale/zh_TW.utf8: time stamp 2024-08-09 05:47:58 is 32643392.676876197 s in the future +tar: ./usr/lib/locale/zh_SG.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.676850905 s in the future +tar: ./usr/lib/locale/zh_SG.utf8: time stamp 2024-08-09 05:47:58 is 32643392.676827911 s in the future +tar: ./usr/lib/locale/zh_SG.gbk/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.676804792 s in the future +tar: ./usr/lib/locale/zh_SG.gbk: time stamp 2024-08-09 05:47:58 is 32643392.676782494 s in the future +tar: ./usr/lib/locale/zh_SG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.676759254 s in the future +tar: ./usr/lib/locale/zh_SG: time stamp 2024-08-09 05:47:58 is 32643392.676736296 s in the future +tar: ./usr/lib/locale/zh_HK.utf8: time stamp 2024-08-09 05:47:58 is 32643392.6767129 s in the future +tar: ./usr/lib/locale/zh_CN.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.676689727 s in the future +tar: ./usr/lib/locale/zh_CN.utf8: time stamp 2024-08-09 05:47:58 is 32643392.676667172 s in the future +tar: ./usr/lib/locale/yuw_PG: time stamp 2024-08-09 05:47:58 is 32643392.676644762 s in the future +tar: ./usr/lib/locale/yue_HK: time stamp 2024-08-09 05:47:58 is 32643392.676621869 s in the future +tar: ./usr/lib/locale/yo_NG: time stamp 2024-08-09 05:47:58 is 32643392.676598534 s in the future +tar: ./usr/lib/locale/yi_US.utf8: time stamp 2024-08-09 05:47:58 is 32643392.676575199 s in the future +tar: ./usr/lib/locale/xh_ZA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.676552629 s in the future +tar: ./usr/lib/locale/xh_ZA: time stamp 2024-08-09 05:47:58 is 32643392.67653038 s in the future +tar: ./usr/lib/locale/wo_SN: time stamp 2024-08-09 05:47:58 is 32643392.676507206 s in the future +tar: ./usr/lib/locale/wal_ET/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.676483902 s in the future +tar: ./usr/lib/locale/wal_ET: time stamp 2024-08-09 05:47:58 is 32643392.676461623 s in the future +tar: ./usr/lib/locale/wae_CH: time stamp 2024-08-09 05:47:58 is 32643392.676439375 s in the future +tar: ./usr/lib/locale/wa_BE@euro: time stamp 2024-08-09 05:47:58 is 32643392.676416445 s in the future +tar: ./usr/lib/locale/wa_BE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.67639382 s in the future +tar: ./usr/lib/locale/wa_BE: time stamp 2024-08-09 05:47:58 is 32643392.676371316 s in the future +tar: ./usr/lib/locale/vi_VN: time stamp 2024-08-09 05:47:58 is 32643392.676348628 s in the future +tar: ./usr/lib/locale/ve_ZA: time stamp 2024-08-09 05:47:58 is 32643392.676326062 s in the future +tar: ./usr/lib/locale/uz_UZ@cyrillic: time stamp 2024-08-09 05:47:58 is 32643392.676303573 s in the future +tar: ./usr/lib/locale/uz_UZ.utf8: time stamp 2024-08-09 05:47:58 is 32643392.676281048 s in the future +tar: ./usr/lib/locale/uz_UZ: time stamp 2024-08-09 05:47:58 is 32643392.676258718 s in the future +tar: ./usr/lib/locale/ur_PK: time stamp 2024-08-09 05:47:58 is 32643392.67623599 s in the future +tar: ./usr/lib/locale/ur_IN: time stamp 2024-08-09 05:47:58 is 32643392.676213578 s in the future +tar: ./usr/lib/locale/unm_US: time stamp 2024-08-09 05:47:58 is 32643392.676191201 s in the future +tar: ./usr/lib/locale/uk_UA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.676168527 s in the future +tar: ./usr/lib/locale/uk_UA: time stamp 2024-08-09 05:47:58 is 32643392.67614588 s in the future +tar: ./usr/lib/locale/ug_CN: time stamp 2024-08-09 05:47:58 is 32643392.67612239 s in the future +tar: ./usr/lib/locale/tt_RU@iqtelif: time stamp 2024-08-09 05:47:58 is 32643392.676099823 s in the future +tar: ./usr/lib/locale/tt_RU: time stamp 2024-08-09 05:47:58 is 32643392.676077087 s in the future +tar: ./usr/lib/locale/ts_ZA: time stamp 2024-08-09 05:47:58 is 32643392.676054271 s in the future +tar: ./usr/lib/locale/tr_TR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.676030756 s in the future +tar: ./usr/lib/locale/tr_TR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.676007844 s in the future +tar: ./usr/lib/locale/tr_TR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.67598471 s in the future +tar: ./usr/lib/locale/tr_TR: time stamp 2024-08-09 05:47:58 is 32643392.675962351 s in the future +tar: ./usr/lib/locale/tr_CY.utf8: time stamp 2024-08-09 05:47:58 is 32643392.675937541 s in the future +tar: ./usr/lib/locale/tr_CY: time stamp 2024-08-09 05:47:58 is 32643392.675915104 s in the future +tar: ./usr/lib/locale/tpi_PG: time stamp 2024-08-09 05:47:58 is 32643392.675892677 s in the future +tar: ./usr/lib/locale/to_TO: time stamp 2024-08-09 05:47:58 is 32643392.675869793 s in the future +tar: ./usr/lib/locale/tn_ZA: time stamp 2024-08-09 05:47:58 is 32643392.67584745 s in the future +tar: ./usr/lib/locale/tl_PH.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.675824458 s in the future +tar: ./usr/lib/locale/tl_PH.utf8: time stamp 2024-08-09 05:47:58 is 32643392.675802041 s in the future +tar: ./usr/lib/locale/tl_PH: time stamp 2024-08-09 05:47:58 is 32643392.675779582 s in the future +tar: ./usr/lib/locale/tk_TM: time stamp 2024-08-09 05:47:58 is 32643392.675757206 s in the future +tar: ./usr/lib/locale/tig_ER/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.675734347 s in the future +tar: ./usr/lib/locale/tig_ER: time stamp 2024-08-09 05:47:58 is 32643392.675711585 s in the future +tar: ./usr/lib/locale/ti_ET/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.675688674 s in the future +tar: ./usr/lib/locale/ti_ET: time stamp 2024-08-09 05:47:58 is 32643392.67566618 s in the future +tar: ./usr/lib/locale/ti_ER/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.675643229 s in the future +tar: ./usr/lib/locale/ti_ER: time stamp 2024-08-09 05:47:58 is 32643392.675620584 s in the future +tar: ./usr/lib/locale/the_NP/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.675597618 s in the future +tar: ./usr/lib/locale/the_NP: time stamp 2024-08-09 05:47:58 is 32643392.675575599 s in the future +tar: ./usr/lib/locale/th_TH.utf8: time stamp 2024-08-09 05:47:58 is 32643392.675553107 s in the future +tar: ./usr/lib/locale/tg_TJ.utf8: time stamp 2024-08-09 05:47:58 is 32643392.67553059 s in the future +tar: ./usr/lib/locale/te_IN: time stamp 2024-08-09 05:47:58 is 32643392.675508168 s in the future +tar: ./usr/lib/locale/tcy_IN.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.67548536 s in the future +tar: ./usr/lib/locale/tcy_IN.utf8: time stamp 2024-08-09 05:47:58 is 32643392.675462833 s in the future +tar: ./usr/lib/locale/ta_LK/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.675440083 s in the future +tar: ./usr/lib/locale/ta_LK: time stamp 2024-08-09 05:47:58 is 32643392.675417569 s in the future +tar: ./usr/lib/locale/ta_IN: time stamp 2024-08-09 05:47:58 is 32643392.675394898 s in the future +tar: ./usr/lib/locale/szl_PL: time stamp 2024-08-09 05:47:58 is 32643392.675372514 s in the future +tar: ./usr/lib/locale/sw_TZ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.675346129 s in the future +tar: ./usr/lib/locale/sw_TZ: time stamp 2024-08-09 05:47:58 is 32643392.675323652 s in the future +tar: ./usr/lib/locale/sw_KE: time stamp 2024-08-09 05:47:58 is 32643392.675301237 s in the future +tar: ./usr/lib/locale/sv_SE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.675278148 s in the future +tar: ./usr/lib/locale/sv_SE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.675255886 s in the future +tar: ./usr/lib/locale/sv_SE.iso885915/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.675233079 s in the future +tar: ./usr/lib/locale/sv_SE.iso885915: time stamp 2024-08-09 05:47:58 is 32643392.675210884 s in the future +tar: ./usr/lib/locale/sv_SE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.674836901 s in the future +tar: ./usr/lib/locale/sv_SE: time stamp 2024-08-09 05:47:58 is 32643392.674807557 s in the future +tar: ./usr/lib/locale/sv_FI@euro: time stamp 2024-08-09 05:47:58 is 32643392.67478436 s in the future +tar: ./usr/lib/locale/sv_FI.utf8: time stamp 2024-08-09 05:47:58 is 32643392.674761244 s in the future +tar: ./usr/lib/locale/sv_FI: time stamp 2024-08-09 05:47:58 is 32643392.674738245 s in the future +tar: ./usr/lib/locale/st_ZA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.674714994 s in the future +tar: ./usr/lib/locale/st_ZA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.674692137 s in the future +tar: ./usr/lib/locale/st_ZA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.674668944 s in the future +tar: ./usr/lib/locale/st_ZA: time stamp 2024-08-09 05:47:58 is 32643392.674646641 s in the future +tar: ./usr/lib/locale/ss_ZA: time stamp 2024-08-09 05:47:58 is 32643392.674623881 s in the future +tar: ./usr/lib/locale/sr_RS@latin/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.674600556 s in the future +tar: ./usr/lib/locale/sr_RS@latin: time stamp 2024-08-09 05:47:58 is 32643392.674577969 s in the future +tar: ./usr/lib/locale/sr_RS/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.67455446 s in the future +tar: ./usr/lib/locale/sr_RS: time stamp 2024-08-09 05:47:58 is 32643392.674531429 s in the future +tar: ./usr/lib/locale/sr_ME: time stamp 2024-08-09 05:47:58 is 32643392.674508492 s in the future +tar: ./usr/lib/locale/sq_MK/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.674485118 s in the future +tar: ./usr/lib/locale/sq_MK: time stamp 2024-08-09 05:47:58 is 32643392.674462057 s in the future +tar: ./usr/lib/locale/sq_AL.utf8: time stamp 2024-08-09 05:47:58 is 32643392.674439521 s in the future +tar: ./usr/lib/locale/sq_AL: time stamp 2024-08-09 05:47:58 is 32643392.674416669 s in the future +tar: ./usr/lib/locale/so_SO.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.674393038 s in the future +tar: ./usr/lib/locale/so_SO.utf8: time stamp 2024-08-09 05:47:58 is 32643392.674369977 s in the future +tar: ./usr/lib/locale/so_SO/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.674347047 s in the future +tar: ./usr/lib/locale/so_SO: time stamp 2024-08-09 05:47:58 is 32643392.674324286 s in the future +tar: ./usr/lib/locale/so_KE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.674301366 s in the future +tar: ./usr/lib/locale/so_KE: time stamp 2024-08-09 05:47:58 is 32643392.67427904 s in the future +tar: ./usr/lib/locale/so_ET/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.67425586 s in the future +tar: ./usr/lib/locale/so_ET: time stamp 2024-08-09 05:47:58 is 32643392.674233546 s in the future +tar: ./usr/lib/locale/so_DJ.utf8: time stamp 2024-08-09 05:47:58 is 32643392.674211152 s in the future +tar: ./usr/lib/locale/so_DJ: time stamp 2024-08-09 05:47:58 is 32643392.674188473 s in the future +tar: ./usr/lib/locale/sm_WS: time stamp 2024-08-09 05:47:58 is 32643392.674165791 s in the future +tar: ./usr/lib/locale/sl_SI.utf8: time stamp 2024-08-09 05:47:58 is 32643392.67414251 s in the future +tar: ./usr/lib/locale/sl_SI: time stamp 2024-08-09 05:47:58 is 32643392.674119411 s in the future +tar: ./usr/lib/locale/sk_SK.utf8: time stamp 2024-08-09 05:47:58 is 32643392.674096931 s in the future +tar: ./usr/lib/locale/sk_SK: time stamp 2024-08-09 05:47:58 is 32643392.674073808 s in the future +tar: ./usr/lib/locale/sid_ET/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.674050982 s in the future +tar: ./usr/lib/locale/sid_ET: time stamp 2024-08-09 05:47:58 is 32643392.674028465 s in the future +tar: ./usr/lib/locale/si_LK: time stamp 2024-08-09 05:47:58 is 32643392.674005733 s in the future +tar: ./usr/lib/locale/shs_CA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.673983191 s in the future +tar: ./usr/lib/locale/shs_CA: time stamp 2024-08-09 05:47:58 is 32643392.673960664 s in the future +tar: ./usr/lib/locale/shn_MM/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.673937639 s in the future +tar: ./usr/lib/locale/shn_MM: time stamp 2024-08-09 05:47:58 is 32643392.673911994 s in the future +tar: ./usr/lib/locale/sgs_LT: time stamp 2024-08-09 05:47:58 is 32643392.673889679 s in the future +tar: ./usr/lib/locale/se_NO: time stamp 2024-08-09 05:47:58 is 32643392.673867024 s in the future +tar: ./usr/lib/locale/sd_IN@devanagari/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.673843861 s in the future +tar: ./usr/lib/locale/sd_IN@devanagari: time stamp 2024-08-09 05:47:58 is 32643392.673821038 s in the future +tar: ./usr/lib/locale/sd_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.673797626 s in the future +tar: ./usr/lib/locale/sd_IN: time stamp 2024-08-09 05:47:58 is 32643392.673775372 s in the future +tar: ./usr/lib/locale/sc_IT: time stamp 2024-08-09 05:47:58 is 32643392.673752961 s in the future +tar: ./usr/lib/locale/sat_IN: time stamp 2024-08-09 05:47:58 is 32643392.673730437 s in the future +tar: ./usr/lib/locale/sah_RU: time stamp 2024-08-09 05:47:58 is 32643392.673708123 s in the future +tar: ./usr/lib/locale/sa_IN: time stamp 2024-08-09 05:47:58 is 32643392.673685915 s in the future +tar: ./usr/lib/locale/rw_RW: time stamp 2024-08-09 05:47:58 is 32643392.673663423 s in the future +tar: ./usr/lib/locale/ru_UA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.67364062 s in the future +tar: ./usr/lib/locale/ru_UA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.673618 s in the future +tar: ./usr/lib/locale/ru_RU.utf8: time stamp 2024-08-09 05:47:58 is 32643392.67359565 s in the future +tar: ./usr/lib/locale/ru_RU.cp1251: time stamp 2024-08-09 05:47:58 is 32643392.673573293 s in the future +tar: ./usr/lib/locale/ru_RU: time stamp 2024-08-09 05:47:58 is 32643392.673550485 s in the future +tar: ./usr/lib/locale/ro_RO.utf8: time stamp 2024-08-09 05:47:58 is 32643392.673527951 s in the future +tar: ./usr/lib/locale/ro_RO: time stamp 2024-08-09 05:47:58 is 32643392.673505054 s in the future +tar: ./usr/lib/locale/raj_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.673482125 s in the future +tar: ./usr/lib/locale/raj_IN: time stamp 2024-08-09 05:47:58 is 32643392.673459592 s in the future +tar: ./usr/lib/locale/quz_PE: time stamp 2024-08-09 05:47:58 is 32643392.673437022 s in the future +tar: ./usr/lib/locale/pt_PT@euro: time stamp 2024-08-09 05:47:58 is 32643392.673414795 s in the future +tar: ./usr/lib/locale/pt_PT.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.673391927 s in the future +tar: ./usr/lib/locale/pt_PT.utf8: time stamp 2024-08-09 05:47:58 is 32643392.673369294 s in the future +tar: ./usr/lib/locale/pt_PT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.673346342 s in the future +tar: ./usr/lib/locale/pt_PT: time stamp 2024-08-09 05:47:58 is 32643392.67332385 s in the future +tar: ./usr/lib/locale/pt_BR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.673301215 s in the future +tar: ./usr/lib/locale/pt_BR: time stamp 2024-08-09 05:47:58 is 32643392.673278484 s in the future +tar: ./usr/lib/locale/ps_AF: time stamp 2024-08-09 05:47:58 is 32643392.673255948 s in the future +tar: ./usr/lib/locale/pl_PL.utf8: time stamp 2024-08-09 05:47:58 is 32643392.673233477 s in the future +tar: ./usr/lib/locale/pl_PL: time stamp 2024-08-09 05:47:58 is 32643392.673210918 s in the future +tar: ./usr/lib/locale/pap_CW/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.673187671 s in the future +tar: ./usr/lib/locale/pap_CW: time stamp 2024-08-09 05:47:58 is 32643392.673165413 s in the future +tar: ./usr/lib/locale/pap_AW: time stamp 2024-08-09 05:47:58 is 32643392.673143106 s in the future +tar: ./usr/lib/locale/pa_PK: time stamp 2024-08-09 05:47:58 is 32643392.673120667 s in the future +tar: ./usr/lib/locale/pa_IN: time stamp 2024-08-09 05:47:58 is 32643392.673097781 s in the future +tar: ./usr/lib/locale/os_RU: time stamp 2024-08-09 05:47:58 is 32643392.673075092 s in the future +tar: ./usr/lib/locale/or_IN: time stamp 2024-08-09 05:47:58 is 32643392.673052462 s in the future +tar: ./usr/lib/locale/om_KE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.673029363 s in the future +tar: ./usr/lib/locale/om_KE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.67300437 s in the future +tar: ./usr/lib/locale/om_KE: time stamp 2024-08-09 05:47:58 is 32643392.672981571 s in the future +tar: ./usr/lib/locale/om_ET: time stamp 2024-08-09 05:47:58 is 32643392.672959045 s in the future +tar: ./usr/lib/locale/oc_FR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.672936283 s in the future +tar: ./usr/lib/locale/oc_FR: time stamp 2024-08-09 05:47:58 is 32643392.672913577 s in the future +tar: ./usr/lib/locale/nso_ZA: time stamp 2024-08-09 05:47:58 is 32643392.672891365 s in the future +tar: ./usr/lib/locale/nr_ZA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.672868442 s in the future +tar: ./usr/lib/locale/nr_ZA: time stamp 2024-08-09 05:47:58 is 32643392.672846152 s in the future +tar: ./usr/lib/locale/nn_NO.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.67282334 s in the future +tar: ./usr/lib/locale/nn_NO.utf8: time stamp 2024-08-09 05:47:58 is 32643392.672800743 s in the future +tar: ./usr/lib/locale/nn_NO/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.672777742 s in the future +tar: ./usr/lib/locale/nn_NO: time stamp 2024-08-09 05:47:58 is 32643392.672755056 s in the future +tar: ./usr/lib/locale/nl_NL@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.672731812 s in the future +tar: ./usr/lib/locale/nl_NL@euro: time stamp 2024-08-09 05:47:58 is 32643392.672709482 s in the future +tar: ./usr/lib/locale/nl_NL.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.672686873 s in the future +tar: ./usr/lib/locale/nl_NL.utf8: time stamp 2024-08-09 05:47:58 is 32643392.672664567 s in the future +tar: ./usr/lib/locale/nl_NL/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.672641274 s in the future +tar: ./usr/lib/locale/nl_NL: time stamp 2024-08-09 05:47:58 is 32643392.672618934 s in the future +tar: ./usr/lib/locale/nl_BE@euro: time stamp 2024-08-09 05:47:58 is 32643392.672596269 s in the future +tar: ./usr/lib/locale/nl_BE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.672573541 s in the future +tar: ./usr/lib/locale/nl_BE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.672551152 s in the future +tar: ./usr/lib/locale/nl_BE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.672527994 s in the future +tar: ./usr/lib/locale/nl_BE: time stamp 2024-08-09 05:47:58 is 32643392.67250576 s in the future +tar: ./usr/lib/locale/nl_AW/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.672483095 s in the future +tar: ./usr/lib/locale/nl_AW: time stamp 2024-08-09 05:47:58 is 32643392.672460822 s in the future +tar: ./usr/lib/locale/niu_NZ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.672437986 s in the future +tar: ./usr/lib/locale/niu_NZ: time stamp 2024-08-09 05:47:58 is 32643392.672415674 s in the future +tar: ./usr/lib/locale/niu_NU: time stamp 2024-08-09 05:47:58 is 32643392.672393206 s in the future +tar: ./usr/lib/locale/nhn_MX: time stamp 2024-08-09 05:47:58 is 32643392.672370878 s in the future +tar: ./usr/lib/locale/ne_NP: time stamp 2024-08-09 05:47:58 is 32643392.672348956 s in the future +tar: ./usr/lib/locale/nds_NL/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.672325854 s in the future +tar: ./usr/lib/locale/nds_NL: time stamp 2024-08-09 05:47:58 is 32643392.672303729 s in the future +tar: ./usr/lib/locale/nds_DE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.672281097 s in the future +tar: ./usr/lib/locale/nds_DE: time stamp 2024-08-09 05:47:58 is 32643392.67225857 s in the future +tar: ./usr/lib/locale/nb_NO.utf8: time stamp 2024-08-09 05:47:58 is 32643392.672236015 s in the future +tar: ./usr/lib/locale/nb_NO: time stamp 2024-08-09 05:47:58 is 32643392.672213775 s in the future +tar: ./usr/lib/locale/nan_TW@latin: time stamp 2024-08-09 05:47:58 is 32643392.672191354 s in the future +tar: ./usr/lib/locale/nan_TW: time stamp 2024-08-09 05:47:58 is 32643392.672168877 s in the future +tar: ./usr/lib/locale/my_MM: time stamp 2024-08-09 05:47:58 is 32643392.672146822 s in the future +tar: ./usr/lib/locale/mt_MT.utf8: time stamp 2024-08-09 05:47:58 is 32643392.672122328 s in the future +tar: ./usr/lib/locale/ms_MY.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.672099652 s in the future +tar: ./usr/lib/locale/ms_MY.utf8: time stamp 2024-08-09 05:47:58 is 32643392.67207734 s in the future +tar: ./usr/lib/locale/ms_MY/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.672054095 s in the future +tar: ./usr/lib/locale/ms_MY: time stamp 2024-08-09 05:47:58 is 32643392.672031499 s in the future +tar: ./usr/lib/locale/mr_IN: time stamp 2024-08-09 05:47:58 is 32643392.672009205 s in the future +tar: ./usr/lib/locale/mnw_MM: time stamp 2024-08-09 05:47:58 is 32643392.671987027 s in the future +tar: ./usr/lib/locale/mni_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.671963924 s in the future +tar: ./usr/lib/locale/mni_IN: time stamp 2024-08-09 05:47:58 is 32643392.671941659 s in the future +tar: ./usr/lib/locale/mn_MN: time stamp 2024-08-09 05:47:58 is 32643392.67191893 s in the future +tar: ./usr/lib/locale/ml_IN: time stamp 2024-08-09 05:47:58 is 32643392.671896514 s in the future +tar: ./usr/lib/locale/mk_MK.utf8: time stamp 2024-08-09 05:47:58 is 32643392.671873816 s in the future +tar: ./usr/lib/locale/mjw_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.671851096 s in the future +tar: ./usr/lib/locale/mjw_IN: time stamp 2024-08-09 05:47:58 is 32643392.671828668 s in the future +tar: ./usr/lib/locale/miq_NI/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.671805152 s in the future +tar: ./usr/lib/locale/miq_NI: time stamp 2024-08-09 05:47:58 is 32643392.671782659 s in the future +tar: ./usr/lib/locale/mi_NZ.utf8: time stamp 2024-08-09 05:47:58 is 32643392.671760372 s in the future +tar: ./usr/lib/locale/mi_NZ: time stamp 2024-08-09 05:47:58 is 32643392.671737919 s in the future +tar: ./usr/lib/locale/mhr_RU: time stamp 2024-08-09 05:47:58 is 32643392.671715293 s in the future +tar: ./usr/lib/locale/mg_MG.utf8: time stamp 2024-08-09 05:47:58 is 32643392.671692775 s in the future +tar: ./usr/lib/locale/mg_MG: time stamp 2024-08-09 05:47:58 is 32643392.671670119 s in the future +tar: ./usr/lib/locale/mfe_MU: time stamp 2024-08-09 05:47:58 is 32643392.671647935 s in the future +tar: ./usr/lib/locale/mai_NP/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.671625197 s in the future +tar: ./usr/lib/locale/mai_NP: time stamp 2024-08-09 05:47:58 is 32643392.671603213 s in the future +tar: ./usr/lib/locale/mai_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.671580454 s in the future +tar: ./usr/lib/locale/mai_IN: time stamp 2024-08-09 05:47:58 is 32643392.671557898 s in the future +tar: ./usr/lib/locale/mag_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.671534912 s in the future +tar: ./usr/lib/locale/mag_IN: time stamp 2024-08-09 05:47:58 is 32643392.671512632 s in the future +tar: ./usr/lib/locale/lzh_TW: time stamp 2024-08-09 05:47:58 is 32643392.671490519 s in the future +tar: ./usr/lib/locale/lv_LV.utf8: time stamp 2024-08-09 05:47:58 is 32643392.671468344 s in the future +tar: ./usr/lib/locale/lv_LV: time stamp 2024-08-09 05:47:58 is 32643392.671445962 s in the future +tar: ./usr/lib/locale/lt_LT.utf8: time stamp 2024-08-09 05:47:58 is 32643392.671423544 s in the future +tar: ./usr/lib/locale/lo_LA: time stamp 2024-08-09 05:47:58 is 32643392.671401177 s in the future +tar: ./usr/lib/locale/ln_CD: time stamp 2024-08-09 05:47:58 is 32643392.671378713 s in the future +tar: ./usr/lib/locale/lij_IT: time stamp 2024-08-09 05:47:58 is 32643392.671355949 s in the future +tar: ./usr/lib/locale/li_NL: time stamp 2024-08-09 05:47:58 is 32643392.671333271 s in the future +tar: ./usr/lib/locale/li_BE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.671309807 s in the future +tar: ./usr/lib/locale/li_BE: time stamp 2024-08-09 05:47:58 is 32643392.671287095 s in the future +tar: ./usr/lib/locale/lg_UG.utf8: time stamp 2024-08-09 05:47:58 is 32643392.671264601 s in the future +tar: ./usr/lib/locale/lb_LU: time stamp 2024-08-09 05:47:58 is 32643392.671242307 s in the future +tar: ./usr/lib/locale/ky_KG: time stamp 2024-08-09 05:47:58 is 32643392.671217905 s in the future +tar: ./usr/lib/locale/kw_GB.utf8: time stamp 2024-08-09 05:47:58 is 32643392.671094861 s in the future +tar: ./usr/lib/locale/kw_GB: time stamp 2024-08-09 05:47:58 is 32643392.671065601 s in the future +tar: ./usr/lib/locale/ku_TR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.671042625 s in the future +tar: ./usr/lib/locale/ks_IN@devanagari: time stamp 2024-08-09 05:47:58 is 32643392.671019359 s in the future +tar: ./usr/lib/locale/ks_IN: time stamp 2024-08-09 05:47:58 is 32643392.670996203 s in the future +tar: ./usr/lib/locale/kok_IN: time stamp 2024-08-09 05:47:58 is 32643392.670973271 s in the future +tar: ./usr/lib/locale/ko_KR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.670950208 s in the future +tar: ./usr/lib/locale/kn_IN: time stamp 2024-08-09 05:47:58 is 32643392.670927593 s in the future +tar: ./usr/lib/locale/km_KH: time stamp 2024-08-09 05:47:58 is 32643392.670904712 s in the future +tar: ./usr/lib/locale/kl_GL.utf8: time stamp 2024-08-09 05:47:58 is 32643392.670882078 s in the future +tar: ./usr/lib/locale/kl_GL: time stamp 2024-08-09 05:47:58 is 32643392.670859167 s in the future +tar: ./usr/lib/locale/kk_KZ.utf8: time stamp 2024-08-09 05:47:58 is 32643392.670836595 s in the future +tar: ./usr/lib/locale/kab_DZ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.670813657 s in the future +tar: ./usr/lib/locale/kab_DZ: time stamp 2024-08-09 05:47:58 is 32643392.670791227 s in the future +tar: ./usr/lib/locale/ka_GE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.670768293 s in the future +tar: ./usr/lib/locale/ja_JP.utf8: time stamp 2024-08-09 05:47:58 is 32643392.670746117 s in the future +tar: ./usr/lib/locale/iu_CA: time stamp 2024-08-09 05:47:58 is 32643392.670723272 s in the future +tar: ./usr/lib/locale/it_IT@euro: time stamp 2024-08-09 05:47:58 is 32643392.670701303 s in the future +tar: ./usr/lib/locale/it_IT.utf8: time stamp 2024-08-09 05:47:58 is 32643392.670679237 s in the future +tar: ./usr/lib/locale/it_IT: time stamp 2024-08-09 05:47:58 is 32643392.670657054 s in the future +tar: ./usr/lib/locale/it_CH.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.670634473 s in the future +tar: ./usr/lib/locale/it_CH.utf8: time stamp 2024-08-09 05:47:58 is 32643392.670612267 s in the future +tar: ./usr/lib/locale/it_CH: time stamp 2024-08-09 05:47:58 is 32643392.670589669 s in the future +tar: ./usr/lib/locale/is_IS.utf8: time stamp 2024-08-09 05:47:58 is 32643392.670566854 s in the future +tar: ./usr/lib/locale/is_IS: time stamp 2024-08-09 05:47:58 is 32643392.670544804 s in the future +tar: ./usr/lib/locale/ik_CA: time stamp 2024-08-09 05:47:58 is 32643392.670522502 s in the future +tar: ./usr/lib/locale/ig_NG: time stamp 2024-08-09 05:47:58 is 32643392.670500308 s in the future +tar: ./usr/lib/locale/id_ID.utf8: time stamp 2024-08-09 05:47:58 is 32643392.67047794 s in the future +tar: ./usr/lib/locale/id_ID: time stamp 2024-08-09 05:47:58 is 32643392.670455546 s in the future +tar: ./usr/lib/locale/ia_FR: time stamp 2024-08-09 05:47:58 is 32643392.670433078 s in the future +tar: ./usr/lib/locale/hy_AM: time stamp 2024-08-09 05:47:58 is 32643392.670411118 s in the future +tar: ./usr/lib/locale/hu_HU.utf8: time stamp 2024-08-09 05:47:58 is 32643392.670388934 s in the future +tar: ./usr/lib/locale/hu_HU: time stamp 2024-08-09 05:47:58 is 32643392.670366517 s in the future +tar: ./usr/lib/locale/ht_HT: time stamp 2024-08-09 05:47:58 is 32643392.670344051 s in the future +tar: ./usr/lib/locale/hsb_DE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.670321781 s in the future +tar: ./usr/lib/locale/hsb_DE: time stamp 2024-08-09 05:47:58 is 32643392.670298928 s in the future +tar: ./usr/lib/locale/hr_HR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.6702736 s in the future +tar: ./usr/lib/locale/hr_HR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.670251197 s in the future +tar: ./usr/lib/locale/hr_HR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.670228577 s in the future +tar: ./usr/lib/locale/hr_HR: time stamp 2024-08-09 05:47:58 is 32643392.670205717 s in the future +tar: ./usr/lib/locale/hne_IN: time stamp 2024-08-09 05:47:58 is 32643392.670183334 s in the future +tar: ./usr/lib/locale/hif_FJ: time stamp 2024-08-09 05:47:58 is 32643392.670159497 s in the future +tar: ./usr/lib/locale/hi_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.670136737 s in the future +tar: ./usr/lib/locale/hi_IN: time stamp 2024-08-09 05:47:58 is 32643392.670114522 s in the future +tar: ./usr/lib/locale/he_IL.utf8: time stamp 2024-08-09 05:47:58 is 32643392.670091977 s in the future +tar: ./usr/lib/locale/hak_TW: time stamp 2024-08-09 05:47:58 is 32643392.670069824 s in the future +tar: ./usr/lib/locale/ha_NG: time stamp 2024-08-09 05:47:58 is 32643392.670047197 s in the future +tar: ./usr/lib/locale/gv_GB.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.670024532 s in the future +tar: ./usr/lib/locale/gv_GB.utf8: time stamp 2024-08-09 05:47:58 is 32643392.670002048 s in the future +tar: ./usr/lib/locale/gv_GB: time stamp 2024-08-09 05:47:58 is 32643392.669980059 s in the future +tar: ./usr/lib/locale/gu_IN: time stamp 2024-08-09 05:47:58 is 32643392.669957644 s in the future +tar: ./usr/lib/locale/gl_ES@euro: time stamp 2024-08-09 05:47:58 is 32643392.669935157 s in the future +tar: ./usr/lib/locale/gl_ES.utf8: time stamp 2024-08-09 05:47:58 is 32643392.669912791 s in the future +tar: ./usr/lib/locale/gl_ES: time stamp 2024-08-09 05:47:58 is 32643392.669890418 s in the future +tar: ./usr/lib/locale/gez_ET@abegede/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.669867211 s in the future +tar: ./usr/lib/locale/gez_ET@abegede: time stamp 2024-08-09 05:47:58 is 32643392.669844811 s in the future +tar: ./usr/lib/locale/gez_ET: time stamp 2024-08-09 05:47:58 is 32643392.669822718 s in the future +tar: ./usr/lib/locale/gez_ER@abegede/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.669800061 s in the future +tar: ./usr/lib/locale/gez_ER@abegede: time stamp 2024-08-09 05:47:58 is 32643392.669777814 s in the future +tar: ./usr/lib/locale/gez_ER/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.669755224 s in the future +tar: ./usr/lib/locale/gez_ER: time stamp 2024-08-09 05:47:58 is 32643392.669733071 s in the future +tar: ./usr/lib/locale/gd_GB.utf8: time stamp 2024-08-09 05:47:58 is 32643392.669710691 s in the future +tar: ./usr/lib/locale/gd_GB: time stamp 2024-08-09 05:47:58 is 32643392.669688516 s in the future +tar: ./usr/lib/locale/ga_IE@euro: time stamp 2024-08-09 05:47:58 is 32643392.669666351 s in the future +tar: ./usr/lib/locale/ga_IE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.669644007 s in the future +tar: ./usr/lib/locale/ga_IE: time stamp 2024-08-09 05:47:58 is 32643392.669621595 s in the future +tar: ./usr/lib/locale/fy_NL/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.669598977 s in the future +tar: ./usr/lib/locale/fy_NL: time stamp 2024-08-09 05:47:58 is 32643392.66957707 s in the future +tar: ./usr/lib/locale/fy_DE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.669552213 s in the future +tar: ./usr/lib/locale/fy_DE: time stamp 2024-08-09 05:47:58 is 32643392.669529778 s in the future +tar: ./usr/lib/locale/fur_IT: time stamp 2024-08-09 05:47:58 is 32643392.669507064 s in the future +tar: ./usr/lib/locale/fr_LU@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.669483995 s in the future +tar: ./usr/lib/locale/fr_LU@euro: time stamp 2024-08-09 05:47:58 is 32643392.669461702 s in the future +tar: ./usr/lib/locale/fr_LU.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.669438885 s in the future +tar: ./usr/lib/locale/fr_LU.utf8: time stamp 2024-08-09 05:47:58 is 32643392.669416576 s in the future +tar: ./usr/lib/locale/fr_LU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.669393949 s in the future +tar: ./usr/lib/locale/fr_LU: time stamp 2024-08-09 05:47:58 is 32643392.669371785 s in the future +tar: ./usr/lib/locale/fr_FR@euro: time stamp 2024-08-09 05:47:58 is 32643392.669349526 s in the future +tar: ./usr/lib/locale/fr_FR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.669326436 s in the future +tar: ./usr/lib/locale/fr_FR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.669304321 s in the future +tar: ./usr/lib/locale/fr_FR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.669256251 s in the future +tar: ./usr/lib/locale/fr_FR: time stamp 2024-08-09 05:47:58 is 32643392.669233647 s in the future +tar: ./usr/lib/locale/fr_CH.utf8: time stamp 2024-08-09 05:47:58 is 32643392.669210916 s in the future +tar: ./usr/lib/locale/fr_CH: time stamp 2024-08-09 05:47:58 is 32643392.669188449 s in the future +tar: ./usr/lib/locale/fr_CA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.669166375 s in the future +tar: ./usr/lib/locale/fr_CA: time stamp 2024-08-09 05:47:58 is 32643392.669143548 s in the future +tar: ./usr/lib/locale/fr_BE@euro: time stamp 2024-08-09 05:47:58 is 32643392.669121299 s in the future +tar: ./usr/lib/locale/fr_BE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.669099376 s in the future +tar: ./usr/lib/locale/fr_BE: time stamp 2024-08-09 05:47:58 is 32643392.66907727 s in the future +tar: ./usr/lib/locale/fo_FO.utf8: time stamp 2024-08-09 05:47:58 is 32643392.669054733 s in the future +tar: ./usr/lib/locale/fo_FO: time stamp 2024-08-09 05:47:58 is 32643392.669032621 s in the future +tar: ./usr/lib/locale/fil_PH: time stamp 2024-08-09 05:47:58 is 32643392.669010219 s in the future +tar: ./usr/lib/locale/fi_FI@euro: time stamp 2024-08-09 05:47:58 is 32643392.668987908 s in the future +tar: ./usr/lib/locale/fi_FI.utf8: time stamp 2024-08-09 05:47:58 is 32643392.66896558 s in the future +tar: ./usr/lib/locale/fi_FI: time stamp 2024-08-09 05:47:58 is 32643392.66894349 s in the future +tar: ./usr/lib/locale/ff_SN: time stamp 2024-08-09 05:47:58 is 32643392.66892095 s in the future +tar: ./usr/lib/locale/fa_IR: time stamp 2024-08-09 05:47:58 is 32643392.668898201 s in the future +tar: ./usr/lib/locale/eu_FR@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668875198 s in the future +tar: ./usr/lib/locale/eu_FR@euro: time stamp 2024-08-09 05:47:58 is 32643392.668852947 s in the future +tar: ./usr/lib/locale/eu_FR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668830466 s in the future +tar: ./usr/lib/locale/eu_FR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.668806138 s in the future +tar: ./usr/lib/locale/eu_FR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668783116 s in the future +tar: ./usr/lib/locale/eu_FR: time stamp 2024-08-09 05:47:58 is 32643392.668760844 s in the future +tar: ./usr/lib/locale/eu_ES@euro: time stamp 2024-08-09 05:47:58 is 32643392.668738062 s in the future +tar: ./usr/lib/locale/eu_ES.utf8: time stamp 2024-08-09 05:47:58 is 32643392.668715705 s in the future +tar: ./usr/lib/locale/eu_ES: time stamp 2024-08-09 05:47:58 is 32643392.66869352 s in the future +tar: ./usr/lib/locale/et_EE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.668671508 s in the future +tar: ./usr/lib/locale/et_EE.iso885915: time stamp 2024-08-09 05:47:58 is 32643392.668649316 s in the future +tar: ./usr/lib/locale/et_EE: time stamp 2024-08-09 05:47:58 is 32643392.668627266 s in the future +tar: ./usr/lib/locale/es_VE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668604108 s in the future +tar: ./usr/lib/locale/es_VE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.668581805 s in the future +tar: ./usr/lib/locale/es_VE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668558708 s in the future +tar: ./usr/lib/locale/es_VE: time stamp 2024-08-09 05:47:58 is 32643392.668536165 s in the future +tar: ./usr/lib/locale/es_UY.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668513468 s in the future +tar: ./usr/lib/locale/es_UY.utf8: time stamp 2024-08-09 05:47:58 is 32643392.668491346 s in the future +tar: ./usr/lib/locale/es_UY/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668468979 s in the future +tar: ./usr/lib/locale/es_UY: time stamp 2024-08-09 05:47:58 is 32643392.668446076 s in the future +tar: ./usr/lib/locale/es_US.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668423456 s in the future +tar: ./usr/lib/locale/es_US.utf8: time stamp 2024-08-09 05:47:58 is 32643392.668400743 s in the future +tar: ./usr/lib/locale/es_US/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668375693 s in the future +tar: ./usr/lib/locale/es_US: time stamp 2024-08-09 05:47:58 is 32643392.66835328 s in the future +tar: ./usr/lib/locale/es_SV.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668330521 s in the future +tar: ./usr/lib/locale/es_SV.utf8: time stamp 2024-08-09 05:47:58 is 32643392.668307995 s in the future +tar: ./usr/lib/locale/es_SV/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668285508 s in the future +tar: ./usr/lib/locale/es_SV: time stamp 2024-08-09 05:47:58 is 32643392.668262948 s in the future +tar: ./usr/lib/locale/es_PY.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.66823951 s in the future +tar: ./usr/lib/locale/es_PY.utf8: time stamp 2024-08-09 05:47:58 is 32643392.668217363 s in the future +tar: ./usr/lib/locale/es_PY/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668195095 s in the future +tar: ./usr/lib/locale/es_PY: time stamp 2024-08-09 05:47:58 is 32643392.66817266 s in the future +tar: ./usr/lib/locale/es_PR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668149572 s in the future +tar: ./usr/lib/locale/es_PR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.668127613 s in the future +tar: ./usr/lib/locale/es_PR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668105081 s in the future +tar: ./usr/lib/locale/es_PR: time stamp 2024-08-09 05:47:58 is 32643392.668080529 s in the future +tar: ./usr/lib/locale/es_PE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668058027 s in the future +tar: ./usr/lib/locale/es_PE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.668035802 s in the future +tar: ./usr/lib/locale/es_PE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.668012789 s in the future +tar: ./usr/lib/locale/es_PE: time stamp 2024-08-09 05:47:58 is 32643392.667990729 s in the future +tar: ./usr/lib/locale/es_PA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667967666 s in the future +tar: ./usr/lib/locale/es_PA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.667945309 s in the future +tar: ./usr/lib/locale/es_PA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667922404 s in the future +tar: ./usr/lib/locale/es_PA: time stamp 2024-08-09 05:47:58 is 32643392.667900026 s in the future +tar: ./usr/lib/locale/es_NI.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667877435 s in the future +tar: ./usr/lib/locale/es_NI.utf8: time stamp 2024-08-09 05:47:58 is 32643392.667855402 s in the future +tar: ./usr/lib/locale/es_NI/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667833056 s in the future +tar: ./usr/lib/locale/es_NI: time stamp 2024-08-09 05:47:58 is 32643392.667810682 s in the future +tar: ./usr/lib/locale/es_MX.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667787897 s in the future +tar: ./usr/lib/locale/es_MX.utf8: time stamp 2024-08-09 05:47:58 is 32643392.667765838 s in the future +tar: ./usr/lib/locale/es_MX/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667743043 s in the future +tar: ./usr/lib/locale/es_MX: time stamp 2024-08-09 05:47:58 is 32643392.667720776 s in the future +tar: ./usr/lib/locale/es_HN.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.66769844 s in the future +tar: ./usr/lib/locale/es_HN.utf8: time stamp 2024-08-09 05:47:58 is 32643392.667676091 s in the future +tar: ./usr/lib/locale/es_HN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667653357 s in the future +tar: ./usr/lib/locale/es_HN: time stamp 2024-08-09 05:47:58 is 32643392.667631052 s in the future +tar: ./usr/lib/locale/es_GT.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.66760847 s in the future +tar: ./usr/lib/locale/es_GT.utf8: time stamp 2024-08-09 05:47:58 is 32643392.667586219 s in the future +tar: ./usr/lib/locale/es_GT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667564047 s in the future +tar: ./usr/lib/locale/es_GT: time stamp 2024-08-09 05:47:58 is 32643392.667541737 s in the future +tar: ./usr/lib/locale/es_ES@euro: time stamp 2024-08-09 05:47:58 is 32643392.667517397 s in the future +tar: ./usr/lib/locale/es_ES.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667494588 s in the future +tar: ./usr/lib/locale/es_ES.utf8: time stamp 2024-08-09 05:47:58 is 32643392.66747235 s in the future +tar: ./usr/lib/locale/es_ES/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667449609 s in the future +tar: ./usr/lib/locale/es_ES: time stamp 2024-08-09 05:47:58 is 32643392.667427301 s in the future +tar: ./usr/lib/locale/es_EC.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667404755 s in the future +tar: ./usr/lib/locale/es_EC.utf8: time stamp 2024-08-09 05:47:58 is 32643392.667381919 s in the future +tar: ./usr/lib/locale/es_EC/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667356782 s in the future +tar: ./usr/lib/locale/es_EC: time stamp 2024-08-09 05:47:58 is 32643392.667334479 s in the future +tar: ./usr/lib/locale/es_DO.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667311739 s in the future +tar: ./usr/lib/locale/es_DO.utf8: time stamp 2024-08-09 05:47:58 is 32643392.66728989 s in the future +tar: ./usr/lib/locale/es_DO/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667266966 s in the future +tar: ./usr/lib/locale/es_DO: time stamp 2024-08-09 05:47:58 is 32643392.667244861 s in the future +tar: ./usr/lib/locale/es_CU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.667222077 s in the future +tar: ./usr/lib/locale/es_CU: time stamp 2024-08-09 05:47:58 is 32643392.667055801 s in the future +tar: ./usr/lib/locale/es_CR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.666970433 s in the future +tar: ./usr/lib/locale/es_CR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.666936875 s in the future +tar: ./usr/lib/locale/es_CR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.666911729 s in the future +tar: ./usr/lib/locale/es_CR: time stamp 2024-08-09 05:47:58 is 32643392.666886867 s in the future +tar: ./usr/lib/locale/es_CO.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.666860551 s in the future +tar: ./usr/lib/locale/es_CO.utf8: time stamp 2024-08-09 05:47:58 is 32643392.666836882 s in the future +tar: ./usr/lib/locale/es_CO/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.666805022 s in the future +tar: ./usr/lib/locale/es_CO: time stamp 2024-08-09 05:47:58 is 32643392.666774475 s in the future +tar: ./usr/lib/locale/es_CL.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.666744433 s in the future +tar: ./usr/lib/locale/es_CL.utf8: time stamp 2024-08-09 05:47:58 is 32643392.6667151 s in the future +tar: ./usr/lib/locale/es_CL/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.66668929 s in the future +tar: ./usr/lib/locale/es_CL: time stamp 2024-08-09 05:47:58 is 32643392.666660134 s in the future +tar: ./usr/lib/locale/es_BO.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.666630886 s in the future +tar: ./usr/lib/locale/es_BO.utf8: time stamp 2024-08-09 05:47:58 is 32643392.666602361 s in the future +tar: ./usr/lib/locale/es_BO/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.666578173 s in the future +tar: ./usr/lib/locale/es_BO: time stamp 2024-08-09 05:47:58 is 32643392.66655459 s in the future +tar: ./usr/lib/locale/es_AR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.666524666 s in the future +tar: ./usr/lib/locale/es_AR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.666501247 s in the future +tar: ./usr/lib/locale/es_AR: time stamp 2024-08-09 05:47:58 is 32643392.666472834 s in the future +tar: ./usr/lib/locale/eo: time stamp 2024-08-09 05:47:58 is 32643392.666449076 s in the future +tar: ./usr/lib/locale/en_ZW.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.666419826 s in the future +tar: ./usr/lib/locale/en_ZW.utf8: time stamp 2024-08-09 05:47:58 is 32643392.666395996 s in the future +tar: ./usr/lib/locale/en_ZW/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.666371809 s in the future +tar: ./usr/lib/locale/en_ZW: time stamp 2024-08-09 05:47:58 is 32643392.666339843 s in the future +tar: ./usr/lib/locale/en_ZM/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.66631497 s in the future +tar: ./usr/lib/locale/en_ZM: time stamp 2024-08-09 05:47:58 is 32643392.66628594 s in the future +tar: ./usr/lib/locale/en_ZA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.6662612 s in the future +tar: ./usr/lib/locale/en_ZA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.666232762 s in the future +tar: ./usr/lib/locale/en_ZA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.66620909 s in the future +tar: ./usr/lib/locale/en_ZA: time stamp 2024-08-09 05:47:58 is 32643392.66618546 s in the future +tar: ./usr/lib/locale/en_US.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.666155318 s in the future +tar: ./usr/lib/locale/en_US.utf8: time stamp 2024-08-09 05:47:58 is 32643392.666131837 s in the future +tar: ./usr/lib/locale/en_US.iso885915/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.666102635 s in the future +tar: ./usr/lib/locale/en_US.iso885915: time stamp 2024-08-09 05:47:58 is 32643392.666079152 s in the future +tar: ./usr/lib/locale/en_US/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.666043943 s in the future +tar: ./usr/lib/locale/en_US: time stamp 2024-08-09 05:47:58 is 32643392.6660109 s in the future +tar: ./usr/lib/locale/en_SG.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665986836 s in the future +tar: ./usr/lib/locale/en_SG.utf8: time stamp 2024-08-09 05:47:58 is 32643392.665959174 s in the future +tar: ./usr/lib/locale/en_SG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665935559 s in the future +tar: ./usr/lib/locale/en_SG: time stamp 2024-08-09 05:47:58 is 32643392.665912087 s in the future +tar: ./usr/lib/locale/en_SC.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665883457 s in the future +tar: ./usr/lib/locale/en_SC.utf8: time stamp 2024-08-09 05:47:58 is 32643392.665860567 s in the future +tar: ./usr/lib/locale/en_PH.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665831453 s in the future +tar: ./usr/lib/locale/en_PH.utf8: time stamp 2024-08-09 05:47:58 is 32643392.665808626 s in the future +tar: ./usr/lib/locale/en_PH/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665778796 s in the future +tar: ./usr/lib/locale/en_PH: time stamp 2024-08-09 05:47:58 is 32643392.665755228 s in the future +tar: ./usr/lib/locale/en_NZ.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665731732 s in the future +tar: ./usr/lib/locale/en_NZ.utf8: time stamp 2024-08-09 05:47:58 is 32643392.665708588 s in the future +tar: ./usr/lib/locale/en_NZ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665684841 s in the future +tar: ./usr/lib/locale/en_NZ: time stamp 2024-08-09 05:47:58 is 32643392.665662148 s in the future +tar: ./usr/lib/locale/en_NG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665638585 s in the future +tar: ./usr/lib/locale/en_NG: time stamp 2024-08-09 05:47:58 is 32643392.665613385 s in the future +tar: ./usr/lib/locale/en_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665589948 s in the future +tar: ./usr/lib/locale/en_IN: time stamp 2024-08-09 05:47:58 is 32643392.66556695 s in the future +tar: ./usr/lib/locale/en_IL/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665543109 s in the future +tar: ./usr/lib/locale/en_IL: time stamp 2024-08-09 05:47:58 is 32643392.66552061 s in the future +tar: ./usr/lib/locale/en_IE@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665496507 s in the future +tar: ./usr/lib/locale/en_IE@euro: time stamp 2024-08-09 05:47:58 is 32643392.665473175 s in the future +tar: ./usr/lib/locale/en_IE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665449878 s in the future +tar: ./usr/lib/locale/en_IE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.665426799 s in the future +tar: ./usr/lib/locale/en_IE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665403188 s in the future +tar: ./usr/lib/locale/en_IE: time stamp 2024-08-09 05:47:58 is 32643392.665380504 s in the future +tar: ./usr/lib/locale/en_HK.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665356319 s in the future +tar: ./usr/lib/locale/en_HK.utf8: time stamp 2024-08-09 05:47:58 is 32643392.665331706 s in the future +tar: ./usr/lib/locale/en_HK/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665308173 s in the future +tar: ./usr/lib/locale/en_HK: time stamp 2024-08-09 05:47:58 is 32643392.665285086 s in the future +tar: ./usr/lib/locale/en_GB.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665260981 s in the future +tar: ./usr/lib/locale/en_GB.utf8: time stamp 2024-08-09 05:47:58 is 32643392.665238334 s in the future +tar: ./usr/lib/locale/en_GB.iso885915: time stamp 2024-08-09 05:47:58 is 32643392.665215317 s in the future +tar: ./usr/lib/locale/en_GB/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.665191634 s in the future +tar: ./usr/lib/locale/en_GB: time stamp 2024-08-09 05:47:58 is 32643392.6651688 s in the future +tar: ./usr/lib/locale/en_DK.utf8: time stamp 2024-08-09 05:47:58 is 32643392.665141513 s in the future +tar: ./usr/lib/locale/en_DK.iso885915: time stamp 2024-08-09 05:47:58 is 32643392.665118396 s in the future +tar: ./usr/lib/locale/en_DK: time stamp 2024-08-09 05:47:58 is 32643392.665094665 s in the future +tar: ./usr/lib/locale/en_CA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.665071734 s in the future +tar: ./usr/lib/locale/en_CA: time stamp 2024-08-09 05:47:58 is 32643392.665047423 s in the future +tar: ./usr/lib/locale/en_BW.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.66502134 s in the future +tar: ./usr/lib/locale/en_BW.utf8: time stamp 2024-08-09 05:47:58 is 32643392.664998254 s in the future +tar: ./usr/lib/locale/en_BW/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664974879 s in the future +tar: ./usr/lib/locale/en_BW: time stamp 2024-08-09 05:47:58 is 32643392.664952405 s in the future +tar: ./usr/lib/locale/en_AU.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664928765 s in the future +tar: ./usr/lib/locale/en_AU.utf8: time stamp 2024-08-09 05:47:58 is 32643392.66490574 s in the future +tar: ./usr/lib/locale/en_AU: time stamp 2024-08-09 05:47:58 is 32643392.664882482 s in the future +tar: ./usr/lib/locale/en_AG: time stamp 2024-08-09 05:47:58 is 32643392.664859232 s in the future +tar: ./usr/lib/locale/el_GR@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.66483526 s in the future +tar: ./usr/lib/locale/el_GR@euro: time stamp 2024-08-09 05:47:58 is 32643392.664810502 s in the future +tar: ./usr/lib/locale/el_GR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664786789 s in the future +tar: ./usr/lib/locale/el_GR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.664763625 s in the future +tar: ./usr/lib/locale/el_GR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664739317 s in the future +tar: ./usr/lib/locale/el_GR: time stamp 2024-08-09 05:47:58 is 32643392.664716165 s in the future +tar: ./usr/lib/locale/el_CY.utf8: time stamp 2024-08-09 05:47:58 is 32643392.664693034 s in the future +tar: ./usr/lib/locale/dz_BT: time stamp 2024-08-09 05:47:58 is 32643392.664668766 s in the future +tar: ./usr/lib/locale/dv_MV/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664645563 s in the future +tar: ./usr/lib/locale/dv_MV: time stamp 2024-08-09 05:47:58 is 32643392.664621732 s in the future +tar: ./usr/lib/locale/dsb_DE: time stamp 2024-08-09 05:47:58 is 32643392.664598431 s in the future +tar: ./usr/lib/locale/doi_IN: time stamp 2024-08-09 05:47:58 is 32643392.664575339 s in the future +tar: ./usr/lib/locale/de_LU@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664551265 s in the future +tar: ./usr/lib/locale/de_LU@euro: time stamp 2024-08-09 05:47:58 is 32643392.664528149 s in the future +tar: ./usr/lib/locale/de_LU.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664504403 s in the future +tar: ./usr/lib/locale/de_LU.utf8: time stamp 2024-08-09 05:47:58 is 32643392.664481166 s in the future +tar: ./usr/lib/locale/de_LU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664457194 s in the future +tar: ./usr/lib/locale/de_LU: time stamp 2024-08-09 05:47:58 is 32643392.664434581 s in the future +tar: ./usr/lib/locale/de_LI.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664410018 s in the future +tar: ./usr/lib/locale/de_LI.utf8: time stamp 2024-08-09 05:47:58 is 32643392.664386693 s in the future +tar: ./usr/lib/locale/de_IT.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664363103 s in the future +tar: ./usr/lib/locale/de_IT.utf8: time stamp 2024-08-09 05:47:58 is 32643392.66433962 s in the future +tar: ./usr/lib/locale/de_IT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.66431576 s in the future +tar: ./usr/lib/locale/de_IT: time stamp 2024-08-09 05:47:58 is 32643392.664293096 s in the future +tar: ./usr/lib/locale/de_DE@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664269281 s in the future +tar: ./usr/lib/locale/de_DE@euro: time stamp 2024-08-09 05:47:58 is 32643392.664246245 s in the future +tar: ./usr/lib/locale/de_DE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664222867 s in the future +tar: ./usr/lib/locale/de_DE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.664199942 s in the future +tar: ./usr/lib/locale/de_DE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664176641 s in the future +tar: ./usr/lib/locale/de_DE: time stamp 2024-08-09 05:47:58 is 32643392.664151082 s in the future +tar: ./usr/lib/locale/de_CH.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664123135 s in the future +tar: ./usr/lib/locale/de_CH.utf8: time stamp 2024-08-09 05:47:58 is 32643392.664099719 s in the future +tar: ./usr/lib/locale/de_CH/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664076316 s in the future +tar: ./usr/lib/locale/de_CH: time stamp 2024-08-09 05:47:58 is 32643392.664053096 s in the future +tar: ./usr/lib/locale/de_BE@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.664029007 s in the future +tar: ./usr/lib/locale/de_BE@euro: time stamp 2024-08-09 05:47:58 is 32643392.664001702 s in the future +tar: ./usr/lib/locale/de_BE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.663977941 s in the future +tar: ./usr/lib/locale/de_BE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.663954723 s in the future +tar: ./usr/lib/locale/de_BE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.66392999 s in the future +tar: ./usr/lib/locale/de_BE: time stamp 2024-08-09 05:47:58 is 32643392.663907316 s in the future +tar: ./usr/lib/locale/de_AT@euro: time stamp 2024-08-09 05:47:58 is 32643392.663884264 s in the future +tar: ./usr/lib/locale/de_AT.utf8: time stamp 2024-08-09 05:47:58 is 32643392.663861181 s in the future +tar: ./usr/lib/locale/de_AT: time stamp 2024-08-09 05:47:58 is 32643392.663838517 s in the future +tar: ./usr/lib/locale/da_DK.utf8: time stamp 2024-08-09 05:47:58 is 32643392.663815332 s in the future +tar: ./usr/lib/locale/da_DK: time stamp 2024-08-09 05:47:58 is 32643392.663791956 s in the future +tar: ./usr/lib/locale/cy_GB.utf8: time stamp 2024-08-09 05:47:58 is 32643392.663769075 s in the future +tar: ./usr/lib/locale/cv_RU/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.663745624 s in the future +tar: ./usr/lib/locale/cv_RU: time stamp 2024-08-09 05:47:58 is 32643392.663722331 s in the future +tar: ./usr/lib/locale/csb_PL: time stamp 2024-08-09 05:47:58 is 32643392.663699287 s in the future +tar: ./usr/lib/locale/cs_CZ.utf8: time stamp 2024-08-09 05:47:58 is 32643392.66367556 s in the future +tar: ./usr/lib/locale/cs_CZ: time stamp 2024-08-09 05:47:58 is 32643392.663652978 s in the future +tar: ./usr/lib/locale/crh_UA: time stamp 2024-08-09 05:47:58 is 32643392.66362936 s in the future +tar: ./usr/lib/locale/cmn_TW: time stamp 2024-08-09 05:47:58 is 32643392.66360602 s in the future +tar: ./usr/lib/locale/chr_US: time stamp 2024-08-09 05:47:58 is 32643392.66357965 s in the future +tar: ./usr/lib/locale/ce_RU: time stamp 2024-08-09 05:47:58 is 32643392.66355643 s in the future +tar: ./usr/lib/locale/ca_IT.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.663533145 s in the future +tar: ./usr/lib/locale/ca_IT.utf8: time stamp 2024-08-09 05:47:58 is 32643392.66350981 s in the future +tar: ./usr/lib/locale/ca_IT/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.663486482 s in the future +tar: ./usr/lib/locale/ca_IT: time stamp 2024-08-09 05:47:58 is 32643392.663463453 s in the future +tar: ./usr/lib/locale/ca_FR.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.663439767 s in the future +tar: ./usr/lib/locale/ca_FR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.663416569 s in the future +tar: ./usr/lib/locale/ca_FR/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.663392659 s in the future +tar: ./usr/lib/locale/ca_FR: time stamp 2024-08-09 05:47:58 is 32643392.663369582 s in the future +tar: ./usr/lib/locale/ca_ES@valencia/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.66334568 s in the future +tar: ./usr/lib/locale/ca_ES@valencia: time stamp 2024-08-09 05:47:58 is 32643392.663321836 s in the future +tar: ./usr/lib/locale/ca_ES@euro/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.663297664 s in the future +tar: ./usr/lib/locale/ca_ES@euro: time stamp 2024-08-09 05:47:58 is 32643392.663275006 s in the future +tar: ./usr/lib/locale/ca_ES.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.663250858 s in the future +tar: ./usr/lib/locale/ca_ES.utf8: time stamp 2024-08-09 05:47:58 is 32643392.663228229 s in the future +tar: ./usr/lib/locale/ca_ES: time stamp 2024-08-09 05:47:58 is 32643392.663205119 s in the future +tar: ./usr/lib/locale/ca_AD.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.663147375 s in the future +tar: ./usr/lib/locale/ca_AD.utf8: time stamp 2024-08-09 05:47:58 is 32643392.663119071 s in the future +tar: ./usr/lib/locale/ca_AD/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.663095415 s in the future +tar: ./usr/lib/locale/ca_AD: time stamp 2024-08-09 05:47:58 is 32643392.663072355 s in the future +tar: ./usr/lib/locale/byn_ER: time stamp 2024-08-09 05:47:58 is 32643392.66304826 s in the future +tar: ./usr/lib/locale/bs_BA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.663024968 s in the future +tar: ./usr/lib/locale/brx_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.663001399 s in the future +tar: ./usr/lib/locale/brx_IN: time stamp 2024-08-09 05:47:58 is 32643392.662977154 s in the future +tar: ./usr/lib/locale/br_FR@euro: time stamp 2024-08-09 05:47:58 is 32643392.66295357 s in the future +tar: ./usr/lib/locale/br_FR.utf8: time stamp 2024-08-09 05:47:58 is 32643392.662930569 s in the future +tar: ./usr/lib/locale/br_FR: time stamp 2024-08-09 05:47:58 is 32643392.662906295 s in the future +tar: ./usr/lib/locale/bo_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.662882738 s in the future +tar: ./usr/lib/locale/bo_IN: time stamp 2024-08-09 05:47:58 is 32643392.662858958 s in the future +tar: ./usr/lib/locale/bo_CN: time stamp 2024-08-09 05:47:58 is 32643392.662836098 s in the future +tar: ./usr/lib/locale/bn_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.662811842 s in the future +tar: ./usr/lib/locale/bn_IN: time stamp 2024-08-09 05:47:58 is 32643392.662789092 s in the future +tar: ./usr/lib/locale/bn_BD: time stamp 2024-08-09 05:47:58 is 32643392.662765816 s in the future +tar: ./usr/lib/locale/bi_VU: time stamp 2024-08-09 05:47:58 is 32643392.662742975 s in the future +tar: ./usr/lib/locale/bho_NP/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.662719338 s in the future +tar: ./usr/lib/locale/bho_NP: time stamp 2024-08-09 05:47:58 is 32643392.662696772 s in the future +tar: ./usr/lib/locale/bho_IN: time stamp 2024-08-09 05:47:58 is 32643392.662673703 s in the future +tar: ./usr/lib/locale/bhb_IN.utf8: time stamp 2024-08-09 05:47:58 is 32643392.662649013 s in the future +tar: ./usr/lib/locale/bg_BG.utf8: time stamp 2024-08-09 05:47:58 is 32643392.662626026 s in the future +tar: ./usr/lib/locale/bg_BG: time stamp 2024-08-09 05:47:58 is 32643392.662602783 s in the future +tar: ./usr/lib/locale/ber_MA: time stamp 2024-08-09 05:47:58 is 32643392.662579905 s in the future +tar: ./usr/lib/locale/ber_DZ: time stamp 2024-08-09 05:47:58 is 32643392.662557283 s in the future +tar: ./usr/lib/locale/bem_ZM: time stamp 2024-08-09 05:47:58 is 32643392.662533564 s in the future +tar: ./usr/lib/locale/be_BY@latin: time stamp 2024-08-09 05:47:58 is 32643392.66251013 s in the future +tar: ./usr/lib/locale/be_BY.utf8: time stamp 2024-08-09 05:47:58 is 32643392.662486764 s in the future +tar: ./usr/lib/locale/az_IR: time stamp 2024-08-09 05:47:58 is 32643392.662463283 s in the future +tar: ./usr/lib/locale/az_AZ: time stamp 2024-08-09 05:47:58 is 32643392.662438391 s in the future +tar: ./usr/lib/locale/ayc_PE: time stamp 2024-08-09 05:47:58 is 32643392.662416171 s in the future +tar: ./usr/lib/locale/ast_ES.utf8: time stamp 2024-08-09 05:47:58 is 32643392.662393135 s in the future +tar: ./usr/lib/locale/ast_ES: time stamp 2024-08-09 05:47:58 is 32643392.662369945 s in the future +tar: ./usr/lib/locale/as_IN: time stamp 2024-08-09 05:47:58 is 32643392.66234652 s in the future +tar: ./usr/lib/locale/ar_YE.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.662316912 s in the future +tar: ./usr/lib/locale/ar_YE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.662293973 s in the future +tar: ./usr/lib/locale/ar_YE/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.662270583 s in the future +tar: ./usr/lib/locale/ar_YE: time stamp 2024-08-09 05:47:58 is 32643392.662247192 s in the future +tar: ./usr/lib/locale/ar_TN.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.662221958 s in the future +tar: ./usr/lib/locale/ar_TN.utf8: time stamp 2024-08-09 05:47:58 is 32643392.662199232 s in the future +tar: ./usr/lib/locale/ar_TN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.662175733 s in the future +tar: ./usr/lib/locale/ar_TN: time stamp 2024-08-09 05:47:58 is 32643392.662151585 s in the future +tar: ./usr/lib/locale/ar_SY.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.662126168 s in the future +tar: ./usr/lib/locale/ar_SY.utf8: time stamp 2024-08-09 05:47:58 is 32643392.662103227 s in the future +tar: ./usr/lib/locale/ar_SY/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.662078476 s in the future +tar: ./usr/lib/locale/ar_SY: time stamp 2024-08-09 05:47:58 is 32643392.662054451 s in the future +tar: ./usr/lib/locale/ar_SS/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.662030796 s in the future +tar: ./usr/lib/locale/ar_SS: time stamp 2024-08-09 05:47:58 is 32643392.662007604 s in the future +tar: ./usr/lib/locale/ar_SD.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661984516 s in the future +tar: ./usr/lib/locale/ar_SD.utf8: time stamp 2024-08-09 05:47:58 is 32643392.661956717 s in the future +tar: ./usr/lib/locale/ar_SD/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661933045 s in the future +tar: ./usr/lib/locale/ar_SD: time stamp 2024-08-09 05:47:58 is 32643392.661905679 s in the future +tar: ./usr/lib/locale/ar_SA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661881519 s in the future +tar: ./usr/lib/locale/ar_SA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.661858377 s in the future +tar: ./usr/lib/locale/ar_SA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661835071 s in the future +tar: ./usr/lib/locale/ar_SA: time stamp 2024-08-09 05:47:58 is 32643392.661810693 s in the future +tar: ./usr/lib/locale/ar_QA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661785767 s in the future +tar: ./usr/lib/locale/ar_QA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.661761541 s in the future +tar: ./usr/lib/locale/ar_QA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661737711 s in the future +tar: ./usr/lib/locale/ar_QA: time stamp 2024-08-09 05:47:58 is 32643392.661714869 s in the future +tar: ./usr/lib/locale/ar_OM.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661690705 s in the future +tar: ./usr/lib/locale/ar_OM.utf8: time stamp 2024-08-09 05:47:58 is 32643392.661666692 s in the future +tar: ./usr/lib/locale/ar_OM/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661643585 s in the future +tar: ./usr/lib/locale/ar_OM: time stamp 2024-08-09 05:47:58 is 32643392.661620043 s in the future +tar: ./usr/lib/locale/ar_MA.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661596326 s in the future +tar: ./usr/lib/locale/ar_MA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.661573799 s in the future +tar: ./usr/lib/locale/ar_MA/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661550257 s in the future +tar: ./usr/lib/locale/ar_MA: time stamp 2024-08-09 05:47:58 is 32643392.661525618 s in the future +tar: ./usr/lib/locale/ar_LY.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661502572 s in the future +tar: ./usr/lib/locale/ar_LY.utf8: time stamp 2024-08-09 05:47:58 is 32643392.66147939 s in the future +tar: ./usr/lib/locale/ar_LY/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661455163 s in the future +tar: ./usr/lib/locale/ar_LY: time stamp 2024-08-09 05:47:58 is 32643392.661432264 s in the future +tar: ./usr/lib/locale/ar_LB.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661409005 s in the future +tar: ./usr/lib/locale/ar_LB.utf8: time stamp 2024-08-09 05:47:58 is 32643392.66138459 s in the future +tar: ./usr/lib/locale/ar_LB/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661360971 s in the future +tar: ./usr/lib/locale/ar_LB: time stamp 2024-08-09 05:47:58 is 32643392.661337741 s in the future +tar: ./usr/lib/locale/ar_KW.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661314426 s in the future +tar: ./usr/lib/locale/ar_KW.utf8: time stamp 2024-08-09 05:47:58 is 32643392.661291424 s in the future +tar: ./usr/lib/locale/ar_KW/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.66126777 s in the future +tar: ./usr/lib/locale/ar_KW: time stamp 2024-08-09 05:47:58 is 32643392.661244549 s in the future +tar: ./usr/lib/locale/ar_JO.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661220249 s in the future +tar: ./usr/lib/locale/ar_JO.utf8: time stamp 2024-08-09 05:47:58 is 32643392.66119332 s in the future +tar: ./usr/lib/locale/ar_JO/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661168563 s in the future +tar: ./usr/lib/locale/ar_JO: time stamp 2024-08-09 05:47:58 is 32643392.661145881 s in the future +tar: ./usr/lib/locale/ar_IQ.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661122022 s in the future +tar: ./usr/lib/locale/ar_IQ.utf8: time stamp 2024-08-09 05:47:58 is 32643392.661098784 s in the future +tar: ./usr/lib/locale/ar_IQ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661075604 s in the future +tar: ./usr/lib/locale/ar_IQ: time stamp 2024-08-09 05:47:58 is 32643392.661052268 s in the future +tar: ./usr/lib/locale/ar_IN/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.661027612 s in the future +tar: ./usr/lib/locale/ar_IN: time stamp 2024-08-09 05:47:58 is 32643392.661004526 s in the future +tar: ./usr/lib/locale/ar_EG.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.660980718 s in the future +tar: ./usr/lib/locale/ar_EG.utf8: time stamp 2024-08-09 05:47:58 is 32643392.660956745 s in the future +tar: ./usr/lib/locale/ar_EG/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.660931197 s in the future +tar: ./usr/lib/locale/ar_EG: time stamp 2024-08-09 05:47:58 is 32643392.660907944 s in the future +tar: ./usr/lib/locale/ar_DZ.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.660879771 s in the future +tar: ./usr/lib/locale/ar_DZ.utf8: time stamp 2024-08-09 05:47:58 is 32643392.660857255 s in the future +tar: ./usr/lib/locale/ar_DZ/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.660833338 s in the future +tar: ./usr/lib/locale/ar_DZ: time stamp 2024-08-09 05:47:58 is 32643392.660805747 s in the future +tar: ./usr/lib/locale/ar_BH.utf8/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.660781373 s in the future +tar: ./usr/lib/locale/ar_BH.utf8: time stamp 2024-08-09 05:47:58 is 32643392.660758707 s in the future +tar: ./usr/lib/locale/ar_BH/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.660735191 s in the future +tar: ./usr/lib/locale/ar_BH: time stamp 2024-08-09 05:47:58 is 32643392.660711975 s in the future +tar: ./usr/lib/locale/ar_AE.utf8: time stamp 2024-08-09 05:47:58 is 32643392.660689289 s in the future +tar: ./usr/lib/locale/anp_IN: time stamp 2024-08-09 05:47:58 is 32643392.660666017 s in the future +tar: ./usr/lib/locale/an_ES.utf8: time stamp 2024-08-09 05:47:58 is 32643392.660642765 s in the future +tar: ./usr/lib/locale/am_ET: time stamp 2024-08-09 05:47:58 is 32643392.660618748 s in the future +tar: ./usr/lib/locale/ak_GH: time stamp 2024-08-09 05:47:58 is 32643392.660595701 s in the future +tar: ./usr/lib/locale/agr_PE: time stamp 2024-08-09 05:47:58 is 32643392.660571397 s in the future +tar: ./usr/lib/locale/af_ZA.utf8: time stamp 2024-08-09 05:47:58 is 32643392.660547126 s in the future +tar: ./usr/lib/locale/af_ZA: time stamp 2024-08-09 05:47:58 is 32643392.660524168 s in the future +tar: ./usr/lib/locale/aa_ET/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.660500788 s in the future +tar: ./usr/lib/locale/aa_ET: time stamp 2024-08-09 05:47:58 is 32643392.660478004 s in the future +tar: ./usr/lib/locale/aa_ER@saaho/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.660454878 s in the future +tar: ./usr/lib/locale/aa_ER@saaho: time stamp 2024-08-09 05:47:58 is 32643392.660431644 s in the future +tar: ./usr/lib/locale/aa_ER/LC_MESSAGES: time stamp 2024-08-09 05:47:58 is 32643392.6604085 s in the future +tar: ./usr/lib/locale/aa_ER: time stamp 2024-08-09 05:47:58 is 32643392.66038507 s in the future +tar: ./usr/lib/locale: time stamp 2024-08-09 05:47:57 is 32643391.660362593 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl/cross-config-5.32.1: time stamp 2024-08-09 05:47:44 is 32643378.660336562 s in the future +tar: ./usr/lib/x86_64-linux-gnu/perl: time stamp 2024-08-09 05:47:44 is 32643378.660313537 s in the future +tar: ./usr/lib/x86_64-linux-gnu: time stamp 2024-08-09 05:47:54 is 32643388.660291161 s in the future +tar: ./usr/lib/apt/planners: time stamp 2024-08-09 05:47:18 is 32643352.660267468 s in the future +tar: ./usr/lib/apt: time stamp 2024-08-09 05:47:18 is 32643352.660245186 s in the future +tar: ./usr/lib: time stamp 2024-08-09 05:47:38 is 32643372.660222571 s in the future +tar: ./usr/bin: time stamp 2024-08-09 05:47:58 is 32643392.660200565 s in the future +tar: ./usr/share/aptitude: time stamp 2024-08-09 05:47:53 is 32643387.660178311 s in the future +tar: ./usr/share/zoneinfo/right/US: time stamp 2024-08-09 05:47:28 is 32643362.660154075 s in the future +tar: ./usr/share/zoneinfo/right/Mexico: time stamp 2024-08-09 05:47:28 is 32643362.660130418 s in the future +tar: ./usr/share/zoneinfo/right/Indian: time stamp 2024-08-09 05:47:28 is 32643362.660107024 s in the future +tar: ./usr/share/zoneinfo/right/Europe: time stamp 2024-08-09 05:47:28 is 32643362.660083885 s in the future +tar: ./usr/share/zoneinfo/right/Chile: time stamp 2024-08-09 05:47:28 is 32643362.660059504 s in the future +tar: ./usr/share/zoneinfo/right/Canada: time stamp 2024-08-09 05:47:28 is 32643362.660036529 s in the future +tar: ./usr/share/zoneinfo/right/Brazil: time stamp 2024-08-09 05:47:28 is 32643362.660013522 s in the future +tar: ./usr/share/zoneinfo/right/Atlantic: time stamp 2024-08-09 05:47:28 is 32643362.659986589 s in the future +tar: ./usr/share/zoneinfo/right/Asia: time stamp 2024-08-09 05:47:28 is 32643362.65996307 s in the future +tar: ./usr/share/zoneinfo/right/Arctic: time stamp 2024-08-09 05:47:28 is 32643362.659937682 s in the future +tar: ./usr/share/zoneinfo/right/Antarctica: time stamp 2024-08-09 05:47:28 is 32643362.659911767 s in the future +tar: ./usr/share/zoneinfo/right: time stamp 2024-08-09 05:47:28 is 32643362.659887237 s in the future +tar: ./usr/share/zoneinfo/posix/US: time stamp 2024-08-09 05:47:28 is 32643362.659857037 s in the future +tar: ./usr/share/zoneinfo/posix/Mexico: time stamp 2024-08-09 05:47:28 is 32643362.659832796 s in the future +tar: ./usr/share/zoneinfo/posix/Indian: time stamp 2024-08-09 05:47:28 is 32643362.659809 s in the future +tar: ./usr/share/zoneinfo/posix/Europe: time stamp 2024-08-09 05:47:28 is 32643362.659785309 s in the future +tar: ./usr/share/zoneinfo/posix/Chile: time stamp 2024-08-09 05:47:28 is 32643362.659761694 s in the future +tar: ./usr/share/zoneinfo/posix/Canada: time stamp 2024-08-09 05:47:28 is 32643362.659738067 s in the future +tar: ./usr/share/zoneinfo/posix/Brazil: time stamp 2024-08-09 05:47:28 is 32643362.659714948 s in the future +tar: ./usr/share/zoneinfo/posix/Atlantic: time stamp 2024-08-09 05:47:28 is 32643362.65969165 s in the future +tar: ./usr/share/zoneinfo/posix/Asia: time stamp 2024-08-09 05:47:28 is 32643362.659667742 s in the future +tar: ./usr/share/zoneinfo/posix/Arctic: time stamp 2024-08-09 05:47:28 is 32643362.659645152 s in the future +tar: ./usr/share/zoneinfo/posix/Antarctica: time stamp 2024-08-09 05:47:28 is 32643362.659621975 s in the future +tar: ./usr/share/zoneinfo/posix: time stamp 2024-08-09 05:47:28 is 32643362.6595981 s in the future +tar: ./usr/share/zoneinfo/US: time stamp 2024-08-09 05:47:28 is 32643362.65957324 s in the future +tar: ./usr/share/zoneinfo/Mexico: time stamp 2024-08-09 05:47:28 is 32643362.659550075 s in the future +tar: ./usr/share/zoneinfo/Indian: time stamp 2024-08-09 05:47:28 is 32643362.659526448 s in the future +tar: ./usr/share/zoneinfo/Europe: time stamp 2024-08-09 05:47:28 is 32643362.659502902 s in the future +tar: ./usr/share/zoneinfo/Chile: time stamp 2024-08-09 05:47:28 is 32643362.659479474 s in the future +tar: ./usr/share/zoneinfo/Canada: time stamp 2024-08-09 05:47:28 is 32643362.659451488 s in the future +tar: ./usr/share/zoneinfo/Brazil: time stamp 2024-08-09 05:47:28 is 32643362.659428171 s in the future +tar: ./usr/share/zoneinfo/Atlantic: time stamp 2024-08-09 05:47:28 is 32643362.659405478 s in the future +tar: ./usr/share/zoneinfo/Asia: time stamp 2024-08-09 05:47:28 is 32643362.659383109 s in the future +tar: ./usr/share/zoneinfo/Arctic: time stamp 2024-08-09 05:47:28 is 32643362.659360402 s in the future +tar: ./usr/share/zoneinfo/Antarctica: time stamp 2024-08-09 05:47:28 is 32643362.659337542 s in the future +tar: ./usr/share/zoneinfo: time stamp 2024-08-09 05:47:28 is 32643362.65931535 s in the future +tar: ./usr/share/man/gl/man8: time stamp 2024-08-09 05:47:58 is 32643392.659260561 s in the future +tar: ./usr/share/man/gl: time stamp 2024-08-09 05:47:53 is 32643387.659237448 s in the future +tar: ./usr/share/man/fi/man8: time stamp 2024-08-09 05:47:58 is 32643392.659213876 s in the future +tar: ./usr/share/man/fi: time stamp 2024-08-09 05:47:53 is 32643387.659176773 s in the future +tar: ./usr/share/man/cs/man8: time stamp 2024-08-09 05:47:58 is 32643392.659152494 s in the future +tar: ./usr/share/man/cs: time stamp 2024-08-09 05:47:14 is 32643348.659128491 s in the future +tar: ./usr/share/man/man7: time stamp 2024-08-09 05:47:37 is 32643371.659105669 s in the future +tar: ./usr/share/man/man1: time stamp 2024-08-09 05:47:58 is 32643392.659082508 s in the future +tar: ./usr/share/man/ja/man8: time stamp 2024-08-09 05:47:58 is 32643392.659057705 s in the future +tar: ./usr/share/man/ja: time stamp 2024-08-09 05:47:08 is 32643342.659034918 s in the future +tar: ./usr/share/man/sv/man1: time stamp 2024-08-09 05:47:58 is 32643392.659011085 s in the future +tar: ./usr/share/man/sv: time stamp 2024-08-09 05:47:37 is 32643371.658986966 s in the future +tar: ./usr/share/man/pl/man8: time stamp 2024-08-09 05:47:58 is 32643392.658964331 s in the future +tar: ./usr/share/man/pl: time stamp 2024-08-09 05:47:08 is 32643342.658941328 s in the future +tar: ./usr/share/man/man8: time stamp 2024-08-09 05:47:58 is 32643392.658918122 s in the future +tar: ./usr/share/man/it/man8: time stamp 2024-08-09 05:47:58 is 32643392.658895157 s in the future +tar: ./usr/share/man/it: time stamp 2024-08-09 05:47:08 is 32643342.658871851 s in the future +tar: ./usr/share/man/fr/man1: time stamp 2024-08-09 05:47:58 is 32643392.658848329 s in the future +tar: ./usr/share/man/fr/man8: time stamp 2024-08-09 05:47:58 is 32643392.658825001 s in the future +tar: ./usr/share/man/fr: time stamp 2024-08-09 05:47:37 is 32643371.658800789 s in the future +tar: ./usr/share/man/es/man1: time stamp 2024-08-09 05:47:58 is 32643392.658777164 s in the future +tar: ./usr/share/man/es/man8: time stamp 2024-08-09 05:47:58 is 32643392.658753507 s in the future +tar: ./usr/share/man/es: time stamp 2024-08-09 05:47:08 is 32643342.658730265 s in the future +tar: ./usr/share/man/de/man8: time stamp 2024-08-09 05:47:58 is 32643392.65870671 s in the future +tar: ./usr/share/man/de: time stamp 2024-08-09 05:47:07 is 32643341.658683584 s in the future +tar: ./usr/share/man: time stamp 2024-08-09 05:47:53 is 32643387.65865736 s in the future +tar: ./usr/share/locale/ms/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.658633616 s in the future +tar: ./usr/share/locale/lg/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.658593341 s in the future +tar: ./usr/share/locale/kk/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.658544481 s in the future +tar: ./usr/share/locale/ia/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.658504019 s in the future +tar: ./usr/share/locale/be/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.658462936 s in the future +tar: ./usr/share/locale/sr/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.658420601 s in the future +tar: ./usr/share/locale/sr: time stamp 2024-08-09 05:47:08 is 32643342.658397693 s in the future +tar: ./usr/share/locale/id/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.658374145 s in the future +tar: ./usr/share/locale/id: time stamp 2024-08-09 05:47:08 is 32643342.658348645 s in the future +tar: ./usr/share/locale/hr/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.658324915 s in the future +tar: ./usr/share/locale/hr: time stamp 2024-08-09 05:47:08 is 32643342.658302218 s in the future +tar: ./usr/share/locale/ga/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.658276969 s in the future +tar: ./usr/share/locale/ga: time stamp 2024-08-09 05:47:08 is 32643342.658250993 s in the future +tar: ./usr/share/locale/et/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.658218382 s in the future +tar: ./usr/share/locale/et: time stamp 2024-08-09 05:47:08 is 32643342.65819535 s in the future +tar: ./usr/share/locale/eo/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.658171863 s in the future +tar: ./usr/share/locale/eo: time stamp 2024-08-09 05:47:08 is 32643342.658144167 s in the future +tar: ./usr/share/locale/af/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.65812119 s in the future +tar: ./usr/share/locale/af: time stamp 2024-08-09 05:47:08 is 32643342.658098367 s in the future +tar: ./usr/share/locale/zh_TW/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.658075034 s in the future +tar: ./usr/share/locale/zh_TW: time stamp 2024-08-09 05:47:08 is 32643342.658052247 s in the future +tar: ./usr/share/locale/tr/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.658027992 s in the future +tar: ./usr/share/locale/tr: time stamp 2024-08-09 05:47:08 is 32643342.658004985 s in the future +tar: ./usr/share/locale/sl/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657982336 s in the future +tar: ./usr/share/locale/sl: time stamp 2024-08-09 05:47:08 is 32643342.657959181 s in the future +tar: ./usr/share/locale/ro/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657935451 s in the future +tar: ./usr/share/locale/ro: time stamp 2024-08-09 05:47:08 is 32643342.657906616 s in the future +tar: ./usr/share/locale/lt/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657878055 s in the future +tar: ./usr/share/locale/lt: time stamp 2024-08-09 05:47:08 is 32643342.657855161 s in the future +tar: ./usr/share/locale/gl/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657828971 s in the future +tar: ./usr/share/locale/gl: time stamp 2024-08-09 05:47:08 is 32643342.657805643 s in the future +tar: ./usr/share/locale/fi/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657782646 s in the future +tar: ./usr/share/locale/fi: time stamp 2024-08-09 05:47:08 is 32643342.657757773 s in the future +tar: ./usr/share/locale/el/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657728858 s in the future +tar: ./usr/share/locale/el: time stamp 2024-08-09 05:47:08 is 32643342.657706298 s in the future +tar: ./usr/share/locale/bg/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657682596 s in the future +tar: ./usr/share/locale/bg: time stamp 2024-08-09 05:47:08 is 32643342.657658862 s in the future +tar: ./usr/share/locale/zh_CN/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657635587 s in the future +tar: ./usr/share/locale/zh_CN: time stamp 2024-08-09 05:47:08 is 32643342.657612487 s in the future +tar: ./usr/share/locale/vi/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657589391 s in the future +tar: ./usr/share/locale/vi: time stamp 2024-08-09 05:47:08 is 32643342.657564247 s in the future +tar: ./usr/share/locale/uk/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657541406 s in the future +tar: ./usr/share/locale/uk: time stamp 2024-08-09 05:47:08 is 32643342.657518552 s in the future +tar: ./usr/share/locale/sv/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657495023 s in the future +tar: ./usr/share/locale/sv: time stamp 2024-08-09 05:47:08 is 32643342.657468428 s in the future +tar: ./usr/share/locale/sk/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657444988 s in the future +tar: ./usr/share/locale/sk: time stamp 2024-08-09 05:47:08 is 32643342.657422372 s in the future +tar: ./usr/share/locale/ru/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657399268 s in the future +tar: ./usr/share/locale/ru: time stamp 2024-08-09 05:47:08 is 32643342.657376419 s in the future +tar: ./usr/share/locale/pt_BR/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657350059 s in the future +tar: ./usr/share/locale/pt_BR: time stamp 2024-08-09 05:47:08 is 32643342.657323119 s in the future +tar: ./usr/share/locale/pt/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657299746 s in the future +tar: ./usr/share/locale/pt: time stamp 2024-08-09 05:47:08 is 32643342.657276738 s in the future +tar: ./usr/share/locale/pl/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657253308 s in the future +tar: ./usr/share/locale/pl: time stamp 2024-08-09 05:47:08 is 32643342.657230725 s in the future +tar: ./usr/share/locale/nl/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657202866 s in the future +tar: ./usr/share/locale/nl: time stamp 2024-08-09 05:47:08 is 32643342.657180267 s in the future +tar: ./usr/share/locale/nb/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657156938 s in the future +tar: ./usr/share/locale/nb: time stamp 2024-08-09 05:47:08 is 32643342.657131326 s in the future +tar: ./usr/share/locale/ko/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657107911 s in the future +tar: ./usr/share/locale/ko: time stamp 2024-08-09 05:47:08 is 32643342.657085182 s in the future +tar: ./usr/share/locale/ja/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657057668 s in the future +tar: ./usr/share/locale/ja: time stamp 2024-08-09 05:47:08 is 32643342.657034774 s in the future +tar: ./usr/share/locale/it/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.657012058 s in the future +tar: ./usr/share/locale/it: time stamp 2024-08-09 05:47:08 is 32643342.656988983 s in the future +tar: ./usr/share/locale/hu/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.656965915 s in the future +tar: ./usr/share/locale/hu: time stamp 2024-08-09 05:47:08 is 32643342.656943005 s in the future +tar: ./usr/share/locale/fr/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.656919266 s in the future +tar: ./usr/share/locale/fr: time stamp 2024-08-09 05:47:08 is 32643342.656896718 s in the future +tar: ./usr/share/locale/eu/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.656869824 s in the future +tar: ./usr/share/locale/eu: time stamp 2024-08-09 05:47:08 is 32643342.656847143 s in the future +tar: ./usr/share/locale/es/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.656823616 s in the future +tar: ./usr/share/locale/es: time stamp 2024-08-09 05:47:08 is 32643342.656800231 s in the future +tar: ./usr/share/locale/de/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.656776822 s in the future +tar: ./usr/share/locale/de: time stamp 2024-08-09 05:47:08 is 32643342.656752554 s in the future +tar: ./usr/share/locale/da/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.656729692 s in the future +tar: ./usr/share/locale/da: time stamp 2024-08-09 05:47:08 is 32643342.656706649 s in the future +tar: ./usr/share/locale/cs/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.656683923 s in the future +tar: ./usr/share/locale/cs: time stamp 2024-08-09 05:47:08 is 32643342.656661244 s in the future +tar: ./usr/share/locale/ca/LC_TIME: time stamp 2024-08-09 05:47:19 is 32643353.656638307 s in the future +tar: ./usr/share/locale/ca: time stamp 2024-08-09 05:47:08 is 32643342.656607595 s in the future +tar: ./usr/share/locale: time stamp 2024-08-09 05:47:52 is 32643386.656585253 s in the future +tar: ./usr/share/doc/aptitude: time stamp 2024-08-09 05:47:53 is 32643387.656561754 s in the future +tar: ./usr/share/doc/cpp: time stamp 2024-08-09 05:47:38 is 32643372.656538583 s in the future +tar: ./usr/share/doc/build-essential: time stamp 2024-08-09 05:47:35 is 32643369.656515571 s in the future +tar: ./usr/share/doc: time stamp 2024-08-09 05:47:57 is 32643391.656493159 s in the future +tar: ./usr/share: time stamp 2024-08-09 05:47:53 is 32643387.656469581 s in the future +tar: ./usr/sbin: time stamp 2024-08-09 05:47:48 is 32643382.656445553 s in the future +tar: ./usr: time stamp 2024-08-09 05:47:16 is 32643350.656421886 s in the future +tar: ./lib64: time stamp 2024-08-09 05:47:22 is 32643356.656377063 s in the future +tar: ./lib: time stamp 2024-08-09 05:47:47 is 32643381.656353494 s in the future +tar: ./etc/systemd/system/default.target.wants: time stamp 2024-08-09 05:47:30 is 32643364.656330203 s in the future +tar: ./etc/systemd/system/timers.target.wants: time stamp 2024-08-09 05:47:33 is 32643367.656307066 s in the future +tar: ./etc/systemd/system: time stamp 2024-08-09 05:47:30 is 32643364.656283033 s in the future +tar: ./etc/rcS.d: time stamp 2024-08-09 05:47:33 is 32643367.656244574 s in the future +tar: ./etc/rc6.d: time stamp 2024-08-09 05:47:33 is 32643367.656222598 s in the future +tar: ./etc/rc0.d: time stamp 2024-08-09 05:47:33 is 32643367.656197841 s in the future +tar: ./etc/alternatives: time stamp 2024-08-09 05:47:58 is 32643392.656175486 s in the future +tar: ./bin: time stamp 2024-08-09 05:47:53 is 32643387.656117502 s in the future I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem @@ -17,8 +2615,8 @@ I: copying [./mender-client_2.4.1-2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.v835CiPv/trustedkeys.kbx': General error -gpgv: Signature made Tue Apr 13 07:37:53 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.Qd5iPGVc/trustedkeys.kbx': General error +gpgv: Signature made Wed Apr 14 09:37:53 2021 +14 gpgv: using RSA key FAE1E5B64652BE798E278CC20BC47DC64D135306 gpgv: issuer "andreas@fatal.se" gpgv: Can't check signature: No public key @@ -34,135 +2632,166 @@ dpkg-source: info: applying 0005-Revert-import-github.com-urfave-cli-v2-to-github.com.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1795511/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3338828/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +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 Jul 28 10:11 /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/3338828/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3338828/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='31c6f3dae33942c7809b940d1ceac361' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1795511' - PS1='# ' - PS2='> ' + INVOCATION_ID=25c925ad45744ba596abad2d390104ba + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=3338828 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.GjSjc2yL/pbuilderrc_MB0E --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.GjSjc2yL/b1 --logfile b1/build.log mender-client_2.4.1-2.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + 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.GjSjc2yL/pbuilderrc_bjTt --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.GjSjc2yL/b2 --logfile b2/build.log mender-client_2.4.1-2.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jan 20 2022 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Jan 20 2022 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jan 20 2022 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jan 20 2022 more - -rwsr-xr-x 1 root root 55528 Jan 20 2022 mount - -rwxr-xr-x 1 root root 18664 Jan 20 2022 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 6 21:25 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jan 20 2022 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jan 20 2022 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jan 20 2022 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 5898 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8049 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/1795511/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jan 21 2022 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Jan 21 2022 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jan 21 2022 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jan 21 2022 more + -rwsr-xr-x 1 root root 55528 Jan 21 2022 mount + -rwxr-xr-x 1 root root 18664 Jan 21 2022 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Jul 28 10:11 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jan 21 2022 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jan 21 2022 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jan 21 2022 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 5898 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8049 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/3338828/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -296,7 +2925,7 @@ Get: 66 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-crypto-dev all 1:0.0~git20201221.eec23a3-1 [1538 kB] Get: 67 http://deb.debian.org/debian bullseye/main amd64 libglib2.0-0 amd64 2.66.8-1 [1370 kB] Get: 68 http://deb.debian.org/debian bullseye/main amd64 pkg-config amd64 0.29.2-1 [65.1 kB] -Fetched 106 MB in 6s (18.8 MB/s) +Fetched 106 MB in 2s (70.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19707 files and directories currently installed.) @@ -597,7 +3226,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/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/3338828/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/3338828/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/mender-client-2.4.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mender-client_2.4.1-2_source.changes dpkg-buildpackage: info: source package mender-client dpkg-buildpackage: info: source version 2.4.1-2 dpkg-buildpackage: info: source distribution unstable @@ -618,159 +3251,159 @@ make[1]: Entering directory '/build/mender-client-2.4.1' dh_auto_build -O--buildsystem=golang -- \ -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2" - cd obj-x86_64-linux-gnu && go install -trimpath -v -p 15 -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2" github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils + cd obj-x86_64-linux-gnu && go install -trimpath -v -p 16 -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2" github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils internal/unsafeheader -internal/race -runtime/internal/sys -unicode unicode/utf8 -encoding +internal/nettrace +internal/race unicode/utf16 -crypto/internal/subtle math/bits -vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/nettrace crypto/subtle -internal/cpu +runtime/internal/sys runtime/internal/atomic sync/atomic github.com/bmatsuo/lmdb-go/internal/lmdbarch -runtime/internal/math +unicode +encoding +crypto/internal/subtle +vendor/golang.org/x/crypto/cryptobyte/asn1 +runtime/cgo +internal/cpu container/list vendor/golang.org/x/crypto/internal/subtle golang.org/x/sys/internal/unsafeheader -runtime/cgo +runtime/internal/math +internal/testlog internal/bytealg math -internal/testlog github.com/shurcooL/sanitized_anchor_name runtime internal/reflectlite sync -math/rand internal/singleflight +math/rand errors sort -io internal/oserror -strconv +io vendor/golang.org/x/net/dns/dnsmessage +strconv syscall bytes +strings hash crypto/internal/randutil text/tabwriter -strings hash/crc32 crypto/hmac vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/text/transform -golang.org/x/text/transform -reflect crypto crypto/rc4 -github.com/mendersoftware/openssl/utils +reflect +vendor/golang.org/x/text/transform +golang.org/x/text/transform bufio +github.com/mendersoftware/openssl/utils path -regexp/syntax html -time +regexp/syntax +internal/syscall/unix internal/syscall/execenv github.com/remyoudompheng/go-liblzma -internal/syscall/unix +time regexp -context internal/poll -os +context internal/fmtsort encoding/binary +os encoding/base64 -fmt -crypto/sha512 -crypto/cipher crypto/md5 -crypto/sha1 -crypto/sha256 -path/filepath vendor/golang.org/x/crypto/poly1305 -runtime/debug -os/signal +crypto/sha256 crypto/ed25519/internal/edwards25519 -net +crypto/cipher +crypto/sha1 +crypto/sha512 golang.org/x/sys/unix encoding/pem crypto/des -io/ioutil crypto/aes vendor/golang.org/x/crypto/chacha20 -os/exec +path/filepath +fmt +runtime/debug github.com/minio/sha256-simd +os/signal +net +io/ioutil +os/exec vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/chacha20poly1305 +github.com/mendersoftware/mender/system/testing +compress/flate encoding/hex -net/url -vendor/golang.org/x/net/http2/hpack log +net/url vendor/golang.org/x/crypto/curve25519 -vendor/golang.org/x/text/unicode/norm -encoding/json -compress/flate -math/big -mime mime/quotedprintable +vendor/golang.org/x/net/http2/hpack +mime net/http/internal +encoding/json +math/big +vendor/golang.org/x/text/unicode/norm github.com/pkg/errors +github.com/pmezard/go-difflib/difflib +gopkg.in/yaml.v3 github.com/davecgh/go-spew/spew github.com/bmatsuo/lmdb-go/lmdb vendor/golang.org/x/text/unicode/bidi -github.com/pmezard/go-difflib/difflib flag -gopkg.in/yaml.v3 golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm golang.org/x/net/http2/hpack -compress/gzip os/user -github.com/klauspost/compress/flate github.com/ungerik/go-sysfs github.com/russross/blackfriday/v2 -vendor/golang.org/x/text/secure/bidirule +github.com/klauspost/compress/flate +compress/gzip text/template/parse -github.com/mendersoftware/mender/system/testing -golang.org/x/text/secure/bidirule -vendor/golang.org/x/net/idna -github.com/stretchr/objx -github.com/sirupsen/logrus -github.com/mendersoftware/mender-artifact/utils +vendor/golang.org/x/text/secure/bidirule golang.org/x/term runtime/trace -golang.org/x/net/idna +golang.org/x/text/secure/bidirule testing +github.com/sirupsen/logrus +github.com/stretchr/objx +github.com/mendersoftware/mender-artifact/utils +vendor/golang.org/x/net/idna golang.org/x/crypto/ssh/terminal +golang.org/x/net/idna crypto/dsa crypto/elliptic -encoding/asn1 crypto/rand +encoding/asn1 text/template +github.com/cpuguy83/go-md2man/v2/md2man github.com/klauspost/pgzip +github.com/mendersoftware/mender/utils +github.com/mendersoftware/mender/system crypto/ed25519 crypto/rsa -github.com/cpuguy83/go-md2man/v2/md2man -github.com/mendersoftware/mender/system -github.com/mendersoftware/mender/utils vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -crypto/ecdsa github.com/urfave/cli +crypto/ecdsa archive/tar -net/textproto vendor/golang.org/x/net/http/httpproxy log/syslog +net/textproto crypto/x509 github.com/sirupsen/logrus/hooks/syslog vendor/golang.org/x/net/http/httpguts -mime/multipart golang.org/x/net/http/httpguts +mime/multipart github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender-artifact/artifact crypto/tls @@ -780,8 +3413,8 @@ net/http/httptrace net/http net/http/httptest -golang.org/x/net/http2 github.com/mendersoftware/openssl +golang.org/x/net/http2 github.com/stretchr/testify/assert github.com/stretchr/testify/mock github.com/stretchr/testify/require @@ -820,8 +3453,8 @@ github.com/mendersoftware/mender/store github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/client -github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/statescript +github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/conf @@ -833,7 +3466,7 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/mender-client-2.4.1' dh_auto_test || true - cd obj-x86_64-linux-gnu && go test -vet=off -v -p 15 github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils + cd obj-x86_64-linux-gnu && go test -vet=off -v -p 16 github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils # github.com/bmatsuo/lmdb-go/lmdb mdb.c: In function 'mdb_cursor_put': mdb.c:6725:9: warning: this statement may fall through [-Wimplicit-fallthrough=] @@ -875,31 +3508,31 @@ main_test.go:48: Skip TestBinarySize test, non applicable on Debian build --- SKIP: TestBinarySize (0.00s) PASS -ok github.com/mendersoftware/mender 0.089s +ok github.com/mendersoftware/mender 0.012s === RUN TestNewAuthManager --- PASS: TestNewAuthManager (0.00s) === RUN TestAuthManager ---- PASS: TestAuthManager (0.92s) +--- PASS: TestAuthManager (0.31s) === RUN TestAuthManagerRequest ---- PASS: TestAuthManagerRequest (0.64s) +--- PASS: TestAuthManagerRequest (0.77s) === RUN TestAuthManagerResponse --- PASS: TestAuthManagerResponse (0.00s) === RUN TestDaemon -time="2023-07-27T20:04:26Z" level=info msg="State transition: init [none] -> init [none]" +time="2023-07-27T20:13:27Z" level=info msg="State transition: init [none] -> init [none]" --- PASS: TestDaemon (0.00s) === RUN TestDaemonCleanup daemon_test.go:182: PASS: Close() -time="2023-07-27T20:04:26Z" level=error msg="Failed to close data store: foo" +time="2023-07-27T20:13:27Z" 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="2023-07-27T20:06:57Z" level=info msg="Forcing state machine to: update-check" +time="2023-07-27T20:15:58Z" level=info msg="Forcing state machine to: update-check" === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_inventoryUpdate_state -time="2023-07-27T20:06:58Z" level=info msg="Forcing state machine to: inventory-update" ---- PASS: TestDaemonRun (152.01s) +time="2023-07-27T20:15:59Z" 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) @@ -908,481 +3541,481 @@ === RUN TestLogManagerInit --- PASS: TestLogManagerInit (0.00s) === RUN TestLogManagerCheckEnableDisable -time="2023-07-27T20:06:58Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:15:59Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerCheckEnableDisable (0.00s) === RUN TestLogManagerCheckLogging -time="2023-07-27T20:06:58Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:15:59Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerCheckLogging (0.00s) === RUN TestLogManagerLogRotation -time="2023-07-27T20:06:58Z" level=info msg="Running Mender client version: unknown" -time="2023-07-27T20:06:58Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:15:59Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:15:59Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerLogRotation (0.00s) === RUN TestEnabligLogsNoSpceForStoringLogs --- PASS: TestEnabligLogsNoSpceForStoringLogs (0.00s) === RUN TestDeploymentLoggingHook -time="2023-07-27T20:06:58Z" level=info msg=test1 -time="2023-07-27T20:06:58Z" level=info msg="Running Mender client version: unknown" -time="2023-07-27T20:06:58Z" level=debug msg=test2 -time="2023-07-27T20:06:58Z" level=info msg=test3 -time="2023-07-27T20:06:58Z" level=info msg="{\"level\":\"info\",\"message\":\"Running Mender client version: unknown\",\"timestamp\":\"2023-07-27T20:06:58Z\"}\n{\"level\":\"debug\",\"message\":\"test2\",\"timestamp\":\"2023-07-27T20:06:58Z\"}\n" +time="2023-07-27T20:15:59Z" level=info msg=test1 +time="2023-07-27T20:15:59Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:15:59Z" level=debug msg=test2 +time="2023-07-27T20:15:59Z" level=info msg=test3 +time="2023-07-27T20:15:59Z" level=info msg="{\"level\":\"info\",\"message\":\"Running Mender client version: unknown\",\"timestamp\":\"2023-07-27T20:15:59Z\"}\n{\"level\":\"debug\",\"message\":\"test2\",\"timestamp\":\"2023-07-27T20:15:59Z\"}\n" --- PASS: TestDeploymentLoggingHook (0.00s) === RUN TestGetLogs -time="2023-07-27T20:06:58Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:15:59Z" level=info msg="Running Mender client version: unknown" --- PASS: TestGetLogs (0.00s) === RUN TestFindLogFiles ---- PASS: TestFindLogFiles (0.02s) +--- PASS: TestFindLogFiles (0.00s) === RUN TestMenderError --- PASS: TestMenderError (0.00s) === RUN Test_getArtifactName_noArtifactNameInFile_returnsEmptyName -time="2023-07-27T20:06:58Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:06:58Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:06:58Z" level=debug msg="Returning artifact name from artifact_info file." -time="2023-07-27T20:06:58Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2023-07-27T20:15:59Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:15:59Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:15:59Z" level=debug msg="Returning artifact name from artifact_info file." +time="2023-07-27T20:15:59Z" level=debug msg="Reading data from the device manifest file: artifact_info" --- PASS: Test_getArtifactName_noArtifactNameInFile_returnsEmptyName (0.00s) === RUN Test_getArtifactName_malformedArtifactNameLine_returnsError -time="2023-07-27T20:06:58Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:06:58Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:06:58Z" level=debug msg="Returning artifact name from artifact_info file." -time="2023-07-27T20:06:58Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2023-07-27T20:06:58Z" level=debug msg=artifact_name -time="2023-07-27T20:06:58Z" level=error msg="Broken device manifest file: ([artifact_name])" +time="2023-07-27T20:15:59Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:15:59Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:15:59Z" level=debug msg="Returning artifact name from artifact_info file." +time="2023-07-27T20:15:59Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2023-07-27T20:15:59Z" level=debug msg=artifact_name +time="2023-07-27T20:15:59Z" level=error msg="Broken device manifest file: ([artifact_name])" --- PASS: Test_getArtifactName_malformedArtifactNameLine_returnsError (0.00s) === RUN Test_getArtifactName_haveArtifactName_returnsName -time="2023-07-27T20:06:58Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:06:58Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:06:58Z" level=debug msg="Returning artifact name from artifact_info file." -time="2023-07-27T20:06:58Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2023-07-27T20:06:58Z" level=debug msg="artifact_name=mender-image" -time="2023-07-27T20:06:58Z" level=debug msg="Current manifest data: mender-image" +time="2023-07-27T20:15:59Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:15:59Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:15:59Z" level=debug msg="Returning artifact name from artifact_info file." +time="2023-07-27T20:15:59Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2023-07-27T20:15:59Z" level=debug msg="artifact_name=mender-image" +time="2023-07-27T20:15:59Z" level=debug msg="Current manifest data: mender-image" --- PASS: Test_getArtifactName_haveArtifactName_returnsName (0.00s) === RUN Test_ForceBootstrap -time="2023-07-27T20:06:58Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:06:58Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:06:58Z" level=debug msg="Needs keys" -time="2023-07-27T20:06:58Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2023-07-27T20:07:00Z" level=info msg="Device keys not present or bootstrap forced, generating" ---- PASS: Test_ForceBootstrap (3.66s) +time="2023-07-27T20:15:59Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:15:59Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:15:59Z" level=debug msg="Needs keys" +time="2023-07-27T20:15:59Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2023-07-27T20:16:00Z" level=info msg="Device keys not present or bootstrap forced, generating" +--- PASS: Test_ForceBootstrap (1.07s) === RUN Test_Bootstrap -time="2023-07-27T20:07:02Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:02Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:02Z" level=debug msg="Needs keys" -time="2023-07-27T20:07:02Z" level=debug msg="Needs keys" -time="2023-07-27T20:07:02Z" level=info msg="Device keys not present or bootstrap forced, generating" ---- PASS: Test_Bootstrap (0.85s) +time="2023-07-27T20:16:00Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:00Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:00Z" level=debug msg="Needs keys" +time="2023-07-27T20:16:00Z" level=debug msg="Needs keys" +time="2023-07-27T20:16:00Z" level=info msg="Device keys not present or bootstrap forced, generating" +--- PASS: Test_Bootstrap (0.40s) === RUN Test_BootstrappedHaveKeys -time="2023-07-27T20:07:07Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" ---- PASS: Test_BootstrappedHaveKeys (3.95s) +time="2023-07-27T20:16:01Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +--- PASS: Test_BootstrappedHaveKeys (0.13s) === RUN Test_BootstrapError -time="2023-07-27T20:07:07Z" level=error msg="Failed to load device keys: disabled" -time="2023-07-27T20:07:07Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:07Z" level=error msg="Error loading authentication for HTTP client: fatal error: failed to cache authorization code: failed to read auth token data: disabled" -time="2023-07-27T20:07:07Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:07Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:07Z" level=debug msg="Needs keys" -time="2023-07-27T20:07:07Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2023-07-27T20:07:08Z" level=error msg="Failed to save device key: read only" ---- PASS: Test_BootstrapError (0.64s) +time="2023-07-27T20:16:01Z" level=error msg="Failed to load device keys: disabled" +time="2023-07-27T20:16:01Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:01Z" level=error msg="Error loading authentication for HTTP client: fatal error: failed to cache authorization code: failed to read auth token data: disabled" +time="2023-07-27T20:16:01Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:01Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:01Z" level=debug msg="Needs keys" +time="2023-07-27T20:16:01Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2023-07-27T20:16:02Z" level=error msg="Failed to save device key: read only" +--- PASS: Test_BootstrapError (1.28s) === RUN Test_CheckUpdateSimple -time="2023-07-27T20:07:08Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:08Z" level=debug msg="Returning artifact name from file." -time="2023-07-27T20:07:08Z" level=error msg="could not get the current Artifact name" -time="2023-07-27T20:07:08Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-233948959/artifact_info file." -time="2023-07-27T20:07:08Z" level=error msg="could not get the current Artifact name" -time="2023-07-27T20:07:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-233948959/artifact_info file." -time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/artifact_info" -time="2023-07-27T20:07:08Z" level=debug msg="artifact_name=fake-id" -time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: fake-id" -time="2023-07-27T20:07:08Z" level=debug msg="DEVICE_TYPE=hammer" -time="2023-07-27T20:07:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-233948959/artifact_info file." -time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/artifact_info" -time="2023-07-27T20:07:08Z" level=debug msg="artifact_name=fake-id" -time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: fake-id" -time="2023-07-27T20:07:08Z" level=debug msg="DEVICE_TYPE=hammer" -time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/device_type" -time="2023-07-27T20:07:08Z" level=debug msg="device_type=hammer" -time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: hammer" -time="2023-07-27T20:07:08Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[50] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc0001a1b80 50 [] false 127.0.0.1:41515 map[] map[] map[] 127.0.0.1:53974 /api/devices/v1/deployments/device/deployments/next 0xc0001a1bc0}" -time="2023-07-27T20:07:08Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2023-07-27T20:07:08Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41515 map[] map[] map[] 127.0.0.1:53984 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc0001a1ec0}" -time="2023-07-27T20:07:08Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41515 map[] map[] map[] 127.0.0.1:53984 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc0001a1ec0}" -time="2023-07-27T20:07:08Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" -time="2023-07-27T20:07:08Z" level=debug msg="Received response:200 OK" -time="2023-07-27T20:07:08Z" level=debug msg="Have update available" -time="2023-07-27T20:07:08Z" level=info msg="Correct request for getting image from: http://127.0.0.1:41515/download [name: fake-id; devices: [vexpress]]" -time="2023-07-27T20:07:08Z" level=debug msg="Received update response: {{{http://127.0.0.1:41515/download } [vexpress] [] fake-id map[]} foo [] 0 false}" -time="2023-07-27T20:07:08Z" level=info msg="Attempting to upgrade to currently installed artifact name, not performing upgrade." -time="2023-07-27T20:07:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-233948959/artifact_info file." -time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/artifact_info" -time="2023-07-27T20:07:08Z" level=debug msg="artifact_name=fake-id" -time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: fake-id" -time="2023-07-27T20:07:08Z" level=debug msg="DEVICE_TYPE=hammer" -time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/device_type" -time="2023-07-27T20:07:08Z" level=debug msg="device_type=hammer" -time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: hammer" -time="2023-07-27T20:07:08Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[50] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc000272480 50 [] false 127.0.0.1:41515 map[] map[] map[] 127.0.0.1:53984 /api/devices/v1/deployments/device/deployments/next 0xc0002724c0}" -time="2023-07-27T20:07:08Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2023-07-27T20:07:08Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41515 map[] map[] map[] 127.0.0.1:53986 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000272740}" -time="2023-07-27T20:07:08Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41515 map[] map[] map[] 127.0.0.1:53986 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000272740}" -time="2023-07-27T20:07:08Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" -time="2023-07-27T20:07:08Z" level=debug msg="Received response:200 OK" -time="2023-07-27T20:07:08Z" level=debug msg="Have update available" -time="2023-07-27T20:07:08Z" level=info msg="Correct request for getting image from: http://127.0.0.1:41515/download [name: fake-id-fake; devices: [vexpress]]" -time="2023-07-27T20:07:08Z" level=debug msg="Received update response: {{{http://127.0.0.1:41515/download } [vexpress] [] fake-id-fake map[]} foo [] 0 false}" -time="2023-07-27T20:07:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-233948959/artifact_info file." -time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/artifact_info" -time="2023-07-27T20:07:08Z" level=debug msg="artifact_name=fake-id" -time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: fake-id" -time="2023-07-27T20:07:08Z" level=debug msg="DEVICE_TYPE=hammer" -time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/device_type" -time="2023-07-27T20:07:08Z" level=debug msg="device_type=hammer" -time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: hammer" -time="2023-07-27T20:07:08Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[50] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc000272c80 50 [] false 127.0.0.1:41515 map[] map[] map[] 127.0.0.1:53986 /api/devices/v1/deployments/device/deployments/next 0xc000272cc0}" -time="2023-07-27T20:07:08Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2023-07-27T20:07:08Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41515 map[] map[] map[] 127.0.0.1:54002 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000272f80}" -time="2023-07-27T20:07:08Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:41515 map[] map[] map[] 127.0.0.1:54002 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000272f80}" -time="2023-07-27T20:07:08Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" -time="2023-07-27T20:07:08Z" level=debug msg="Received response:204 No Content" -time="2023-07-27T20:07:08Z" level=debug msg="No update available" -time="2023-07-27T20:07:08Z" level=debug msg="no updates available" ---- PASS: Test_CheckUpdateSimple (0.02s) +time="2023-07-27T20:16:02Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:02Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:02Z" level=debug msg="Returning artifact name from file." +time="2023-07-27T20:16:02Z" level=error msg="could not get the current Artifact name" +time="2023-07-27T20:16:02Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:02Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:02Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-748245388/artifact_info file." +time="2023-07-27T20:16:02Z" level=error msg="could not get the current Artifact name" +time="2023-07-27T20:16:02Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-748245388/artifact_info file." +time="2023-07-27T20:16:02Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-748245388/artifact_info" +time="2023-07-27T20:16:02Z" level=debug msg="artifact_name=fake-id" +time="2023-07-27T20:16:02Z" level=debug msg="Current manifest data: fake-id" +time="2023-07-27T20:16:02Z" level=debug msg="DEVICE_TYPE=hammer" +time="2023-07-27T20:16:02Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-748245388/artifact_info file." +time="2023-07-27T20:16:02Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-748245388/artifact_info" +time="2023-07-27T20:16:02Z" level=debug msg="artifact_name=fake-id" +time="2023-07-27T20:16:02Z" level=debug msg="Current manifest data: fake-id" +time="2023-07-27T20:16:02Z" level=debug msg="DEVICE_TYPE=hammer" +time="2023-07-27T20:16:02Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-748245388/device_type" +time="2023-07-27T20:16:02Z" level=debug msg="device_type=hammer" +time="2023-07-27T20:16:02Z" level=debug msg="Current manifest data: hammer" +time="2023-07-27T20:16:02Z" 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]] 0xc000388000 50 [] false 127.0.0.1:45703 map[] map[] map[] 127.0.0.1:53302 /api/devices/v1/deployments/device/deployments/next 0xc000388040}" +time="2023-07-27T20:16:02Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2023-07-27T20:16:02Z" 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:45703 map[] map[] map[] 127.0.0.1:53304 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc0005741c0}" +time="2023-07-27T20:16:02Z" 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:45703 map[] map[] map[] 127.0.0.1:53304 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc0005741c0}" +time="2023-07-27T20:16:02Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" +time="2023-07-27T20:16:02Z" level=debug msg="Received response:200 OK" +time="2023-07-27T20:16:02Z" level=debug msg="Have update available" +time="2023-07-27T20:16:02Z" level=info msg="Correct request for getting image from: http://127.0.0.1:45703/download [name: fake-id; devices: [vexpress]]" +time="2023-07-27T20:16:02Z" level=debug msg="Received update response: {{{http://127.0.0.1:45703/download } [vexpress] [] fake-id map[]} foo [] 0 false}" +time="2023-07-27T20:16:02Z" level=info msg="Attempting to upgrade to currently installed artifact name, not performing upgrade." +time="2023-07-27T20:16:02Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-748245388/artifact_info file." +time="2023-07-27T20:16:02Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-748245388/artifact_info" +time="2023-07-27T20:16:02Z" level=debug msg="artifact_name=fake-id" +time="2023-07-27T20:16:02Z" level=debug msg="Current manifest data: fake-id" +time="2023-07-27T20:16:02Z" level=debug msg="DEVICE_TYPE=hammer" +time="2023-07-27T20:16:02Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-748245388/device_type" +time="2023-07-27T20:16:02Z" level=debug msg="device_type=hammer" +time="2023-07-27T20:16:02Z" level=debug msg="Current manifest data: hammer" +time="2023-07-27T20:16:02Z" 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]] 0xc0002d0a40 50 [] false 127.0.0.1:45703 map[] map[] map[] 127.0.0.1:53304 /api/devices/v1/deployments/device/deployments/next 0xc0002d0a80}" +time="2023-07-27T20:16:02Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2023-07-27T20:16:02Z" 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:45703 map[] map[] map[] 127.0.0.1:53310 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc0002d0c40}" +time="2023-07-27T20:16:02Z" 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:45703 map[] map[] map[] 127.0.0.1:53310 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc0002d0c40}" +time="2023-07-27T20:16:02Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" +time="2023-07-27T20:16:02Z" level=debug msg="Received response:200 OK" +time="2023-07-27T20:16:02Z" level=debug msg="Have update available" +time="2023-07-27T20:16:02Z" level=info msg="Correct request for getting image from: http://127.0.0.1:45703/download [name: fake-id-fake; devices: [vexpress]]" +time="2023-07-27T20:16:02Z" level=debug msg="Received update response: {{{http://127.0.0.1:45703/download } [vexpress] [] fake-id-fake map[]} foo [] 0 false}" +time="2023-07-27T20:16:02Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-748245388/artifact_info file." +time="2023-07-27T20:16:02Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-748245388/artifact_info" +time="2023-07-27T20:16:02Z" level=debug msg="artifact_name=fake-id" +time="2023-07-27T20:16:02Z" level=debug msg="Current manifest data: fake-id" +time="2023-07-27T20:16:02Z" level=debug msg="DEVICE_TYPE=hammer" +time="2023-07-27T20:16:02Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-748245388/device_type" +time="2023-07-27T20:16:02Z" level=debug msg="device_type=hammer" +time="2023-07-27T20:16:02Z" level=debug msg="Current manifest data: hammer" +time="2023-07-27T20:16:02Z" 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]] 0xc000574900 50 [] false 127.0.0.1:45703 map[] map[] map[] 127.0.0.1:53310 /api/devices/v1/deployments/device/deployments/next 0xc000574940}" +time="2023-07-27T20:16:02Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2023-07-27T20:16:02Z" 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:45703 map[] map[] map[] 127.0.0.1:53326 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000574a00}" +time="2023-07-27T20:16:02Z" 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:45703 map[] map[] map[] 127.0.0.1:53326 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000574a00}" +time="2023-07-27T20:16:02Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" +time="2023-07-27T20:16:02Z" level=debug msg="Received response:204 No Content" +time="2023-07-27T20:16:02Z" level=debug msg="No update available" +time="2023-07-27T20:16:02Z" level=debug msg="no updates available" +--- PASS: Test_CheckUpdateSimple (0.01s) === RUN TestMenderGetUpdatePollInterval -time="2023-07-27T20:07:08Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:02Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:02Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetUpdatePollInterval (0.00s) === RUN TestMenderGetInventoryPollInterval -time="2023-07-27T20:07:08Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:02Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:02Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetInventoryPollInterval (0.00s) === RUN TestMenderAuthorize -time="2023-07-27T20:07:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:08Z" level=debug msg="Needs keys" -time="2023-07-27T20:07:08Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2023-07-27T20:07:08Z" level=error msg="Empty server list! Make sure at least one serveris specified in /etc/mender/mender.conf" -time="2023-07-27T20:07:08Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2023-07-27T20:07:08Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2023-07-27T20:07:08Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2023-07-27T20:07:08Z" level=debug msg="Needs keys" -time="2023-07-27T20:07:08Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2023-07-27T20:07:08Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41637" -time="2023-07-27T20:07:08Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[0] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[]] {} 0 [] false 127.0.0.1:41637 map[] map[] map[] 127.0.0.1:37300 /api/devices/v1/authentication/auth_requests 0xc000273880}" -time="2023-07-27T20:07:08Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:08 GMT]] 0xc000277a60 0 [] false false map[] 0xc000310500 }" -time="2023-07-27T20:07:08Z" level=debug msg="Needs keys" -time="2023-07-27T20:07:08Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2023-07-27T20:07:08Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41637" -time="2023-07-27T20:07:08Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[0] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[]] {} 0 [] false 127.0.0.1:41637 map[] map[] map[] 127.0.0.1:37300 /api/devices/v1/authentication/auth_requests 0xc000273a80}" -time="2023-07-27T20:07:08Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:07:08 GMT]] 0xc000277ee0 6 [] false false map[] 0xc000310900 }" -time="2023-07-27T20:07:08Z" level=debug msg="Receive response data" -time="2023-07-27T20:07:08Z" level=debug msg="Received response data: [102 111 111 98 97 114]" -time="2023-07-27T20:07:08Z" level=debug msg="Needs keys" -time="2023-07-27T20:07:08Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2023-07-27T20:07:08Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41637" -time="2023-07-27T20:07:08Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[0] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[]] {} 0 [] false 127.0.0.1:41637 map[] map[] map[] 127.0.0.1:37300 /api/devices/v1/authentication/auth_requests 0xc000273d80}" -time="2023-07-27T20:07:08Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:07:08 GMT]] 0xc0003243e0 6 [] false false map[] 0xc000310d00 }" -time="2023-07-27T20:07:08Z" level=debug msg="Receive response data" -time="2023-07-27T20:07:08Z" level=debug msg="Received response data: [102 111 111 98 97 114]" -time="2023-07-27T20:07:08Z" level=info msg="successfully received new authorization data" +time="2023-07-27T20:16:02Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:02Z" level=debug msg="Needs keys" +time="2023-07-27T20:16:02Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2023-07-27T20:16:02Z" level=error msg="Empty server list! Make sure at least one serveris specified in /etc/mender/mender.conf" +time="2023-07-27T20:16:02Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2023-07-27T20:16:02Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2023-07-27T20:16:02Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2023-07-27T20:16:02Z" level=debug msg="Needs keys" +time="2023-07-27T20:16:02Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2023-07-27T20:16:02Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:36813" +time="2023-07-27T20:16:02Z" 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:36813 map[] map[] map[] 127.0.0.1:42526 /api/devices/v1/authentication/auth_requests 0xc0002d1500}" +time="2023-07-27T20:16:02Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:16:02 GMT]] 0xc000328fc0 0 [] false false map[] 0xc00050d200 }" +time="2023-07-27T20:16:02Z" level=debug msg="Needs keys" +time="2023-07-27T20:16:02Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2023-07-27T20:16:02Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:36813" +time="2023-07-27T20:16:02Z" 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:36813 map[] map[] map[] 127.0.0.1:42526 /api/devices/v1/authentication/auth_requests 0xc000574c80}" +time="2023-07-27T20:16:02Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:16:02 GMT]] 0xc000329440 6 [] false false map[] 0xc00030ef00 }" +time="2023-07-27T20:16:02Z" level=debug msg="Receive response data" +time="2023-07-27T20:16:02Z" level=debug msg="Received response data: [102 111 111 98 97 114]" +time="2023-07-27T20:16:02Z" level=debug msg="Needs keys" +time="2023-07-27T20:16:02Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2023-07-27T20:16:02Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:36813" +time="2023-07-27T20:16:02Z" 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:36813 map[] map[] map[] 127.0.0.1:42526 /api/devices/v1/authentication/auth_requests 0xc000574f80}" +time="2023-07-27T20:16:02Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:16:02 GMT]] 0xc000329940 6 [] false false map[] 0xc00030f300 }" +time="2023-07-27T20:16:02Z" level=debug msg="Receive response data" +time="2023-07-27T20:16:02Z" level=debug msg="Received response data: [102 111 111 98 97 114]" +time="2023-07-27T20:16:02Z" level=info msg="successfully received new authorization data" --- PASS: TestMenderAuthorize (0.00s) === RUN TestMenderReportStatus -time="2023-07-27T20:07:08Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:08Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2023-07-27T20:07:08Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc00032e300 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc00032e340}" -time="2023-07-27T20:07:08Z" level=info msg="request for foobar/status" -time="2023-07-27T20:07:08Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc00032e300 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc00032e340}" -time="2023-07-27T20:07:08Z" level=debug msg="Status reported, response 204 No Content" -time="2023-07-27T20:07:08Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc00032e4c0 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc00032e500}" -time="2023-07-27T20:07:08Z" level=info msg="request for foobar/status" -time="2023-07-27T20:07:08Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc00032e4c0 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc00032e500}" -time="2023-07-27T20:07:08Z" level=error msg="bad token, got Bearer tokendata expected footoken" -time="2023-07-27T20:07:08Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2023-07-27T20:07:08Z" level=debug msg="Needs keys" -time="2023-07-27T20:07:08Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2023-07-27T20:07:13Z" level=debug msg="Tenant token: " -time="2023-07-27T20:07:13Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAuz1YDX75Ryokwm3XURL8\nKPtmo8tGdx2lW/yxSeEVd+5yDALnOyix5LJI/AaM87I8fG2Au/bt0zCMYg2e5Kfw\n328yRXTcCOIEiruCHvybPrWtKWNysmPjRVAAKw1TG8D8YGjkLNRND9cBtyJ8ChoB\n19V9dpWVH+dBKX5KJtG3EJFtfipaftNaCm1V57UN3t1z/FRDH72xjEgxgHGmc/js\nfcNTgzbp3ndNAWfHK3vpgyg74QtJ7xCaFVc3OdHxUalsTfavoTU08Ra4gluohOpk\nbtRHGnbwjqBVS+amJR2lvPLJusPEnPdp2MS3/VsV6wIlKxXS/HOUjDnZSZLzqZAO\n7AIsr9ysjQusHeUT29X1QfIV6nk0HVZjdf/1Og2u4owWxPFy18jNqmBDCMhWYg3a\nVFOgNy5ZtdQCkL21lFKNYzT+Vjiel+WToSyZ4ESpp83wZU9C5RTaiyYoD1qiBFcm\n8kStne+YlTEftR94o99j/CxudmjchgvxnBLELPFAMSrlAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:07:13Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40803" -time="2023-07-27T20:07:13Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[orrXoWYku9uvqk/gUzTqpnsZg8MS7fYNe68+1YfNUEa9QFAqIywJfsHo/eMYsJjAnFESJY3ZP34n3C0BoXePwnKIMPgGane1O+UowQJrYwPiz5f417XsVBvr/OGe1nfmNlShJ7Of/MPaOmnH/Wat9Hpohp9aHWSXQauIeGMu9pluByqRwUZ7DUCfhMeKaQhK4DCNqGr6yrTq7OiPzDuMcS96sJQtdAy6PtojDWb7r/kHWILNuQ0B/RwXQmbaieghgonvxwyQpeMT2ZmzUhW4DIQ+l04MgU5fTuW84RT16sSsHuDzyBQDNcaHQm4GDuISWml/vTLGmJpCxzgeK6KCyvNrD4/iCiPOCmsBon37cCWiqeoaJpiuFF3pMj/ap8MT+8cTs7968N9MqUm2kki3/gMVbPZnZycBtEjo82rVuK2mTz4xMDA4akpAbwUyfw6OJbO4qh37IP+RmRK42IdsrQJNQwlrbNb2nYzgNpHiW4q5u5zVKp7tJK1XVLY1TPgX]] 0xc00032e8c0 701 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/authentication/auth_requests 0xc00032e900}" -time="2023-07-27T20:07:13Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:13 GMT]] 0xc0003256a0 0 [] false false map[] 0xc000311f00 }" -time="2023-07-27T20:07:13Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" -time="2023-07-27T20:07:13Z" level=error msg="Got unexpected HTTP status when reporting status: 401" -time="2023-07-27T20:07:13Z" level=error msg="error reporting update status: (request_id: ): reporting status failed, bad status 401 server error message: failed to parse server response: EOF" -time="2023-07-27T20:07:13Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc00032eac0 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc00032eb00}" -time="2023-07-27T20:07:13Z" level=info msg="request for foobar/status" -time="2023-07-27T20:07:13Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc00032eac0 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc00032eb00}" -time="2023-07-27T20:07:13Z" level=error msg="bad authorization value: Bearer" -time="2023-07-27T20:07:13Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2023-07-27T20:07:13Z" level=debug msg="Tenant token: " -time="2023-07-27T20:07:13Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAuz1YDX75Ryokwm3XURL8\nKPtmo8tGdx2lW/yxSeEVd+5yDALnOyix5LJI/AaM87I8fG2Au/bt0zCMYg2e5Kfw\n328yRXTcCOIEiruCHvybPrWtKWNysmPjRVAAKw1TG8D8YGjkLNRND9cBtyJ8ChoB\n19V9dpWVH+dBKX5KJtG3EJFtfipaftNaCm1V57UN3t1z/FRDH72xjEgxgHGmc/js\nfcNTgzbp3ndNAWfHK3vpgyg74QtJ7xCaFVc3OdHxUalsTfavoTU08Ra4gluohOpk\nbtRHGnbwjqBVS+amJR2lvPLJusPEnPdp2MS3/VsV6wIlKxXS/HOUjDnZSZLzqZAO\n7AIsr9ysjQusHeUT29X1QfIV6nk0HVZjdf/1Og2u4owWxPFy18jNqmBDCMhWYg3a\nVFOgNy5ZtdQCkL21lFKNYzT+Vjiel+WToSyZ4ESpp83wZU9C5RTaiyYoD1qiBFcm\n8kStne+YlTEftR94o99j/CxudmjchgvxnBLELPFAMSrlAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:07:13Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40803" -time="2023-07-27T20:07:13Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[orrXoWYku9uvqk/gUzTqpnsZg8MS7fYNe68+1YfNUEa9QFAqIywJfsHo/eMYsJjAnFESJY3ZP34n3C0BoXePwnKIMPgGane1O+UowQJrYwPiz5f417XsVBvr/OGe1nfmNlShJ7Of/MPaOmnH/Wat9Hpohp9aHWSXQauIeGMu9pluByqRwUZ7DUCfhMeKaQhK4DCNqGr6yrTq7OiPzDuMcS96sJQtdAy6PtojDWb7r/kHWILNuQ0B/RwXQmbaieghgonvxwyQpeMT2ZmzUhW4DIQ+l04MgU5fTuW84RT16sSsHuDzyBQDNcaHQm4GDuISWml/vTLGmJpCxzgeK6KCyvNrD4/iCiPOCmsBon37cCWiqeoaJpiuFF3pMj/ap8MT+8cTs7968N9MqUm2kki3/gMVbPZnZycBtEjo82rVuK2mTz4xMDA4akpAbwUyfw6OJbO4qh37IP+RmRK42IdsrQJNQwlrbNb2nYzgNpHiW4q5u5zVKp7tJK1XVLY1TPgX]] 0xc000382000 701 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/authentication/auth_requests 0xc000382040}" -time="2023-07-27T20:07:13Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[9] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:07:13 GMT]] 0xc000380280 9 [] false false map[] 0xc000352a00 }" -time="2023-07-27T20:07:13Z" level=debug msg="Receive response data" -time="2023-07-27T20:07:13Z" level=debug msg="Received response data: [116 111 107 101 110 100 97 116 97]" -time="2023-07-27T20:07:13Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc0003822c0 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000382300}" -time="2023-07-27T20:07:13Z" level=info msg="request for foobar/status" -time="2023-07-27T20:07:13Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc0003822c0 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000382300}" -time="2023-07-27T20:07:13Z" level=warning msg="Status report rejected, deployment aborted at the backend" -time="2023-07-27T20:07:13Z" level=error msg="error reporting update status: (request_id: ): deployment was aborted server error message: failed to parse server response: EOF" ---- PASS: TestMenderReportStatus (5.70s) +time="2023-07-27T20:16:02Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:02Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:02Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2023-07-27T20:16:02Z" 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]] 0xc000575440 21 [] false 127.0.0.1:33993 map[] map[] map[] 127.0.0.1:58402 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000575480}" +time="2023-07-27T20:16:02Z" level=info msg="request for foobar/status" +time="2023-07-27T20:16:02Z" 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]] 0xc000575440 21 [] false 127.0.0.1:33993 map[] map[] map[] 127.0.0.1:58402 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000575480}" +time="2023-07-27T20:16:02Z" level=debug msg="Status reported, response 204 No Content" +time="2023-07-27T20:16:02Z" 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]] 0xc000020400 21 [] false 127.0.0.1:33993 map[] map[] map[] 127.0.0.1:58402 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000020440}" +time="2023-07-27T20:16:02Z" level=info msg="request for foobar/status" +time="2023-07-27T20:16:02Z" 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]] 0xc000020400 21 [] false 127.0.0.1:33993 map[] map[] map[] 127.0.0.1:58402 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000020440}" +time="2023-07-27T20:16:02Z" level=error msg="bad token, got Bearer tokendata expected footoken" +time="2023-07-27T20:16:02Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2023-07-27T20:16:02Z" level=debug msg="Needs keys" +time="2023-07-27T20:16:02Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2023-07-27T20:16:02Z" level=debug msg="Tenant token: " +time="2023-07-27T20:16:02Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAwpz4WfGd83/nd0hpMJ4e\n+Tmk+Ees09kagMBU3f93wjCd0lOx89ejJxwbvGGZ4RNbnSna8x1QjFvPMit1QUct\nujPzWLZM0UdhEzlwevPIUCAdba9TYRZ+4aL2qqrlH6nDvG1ocFyUiLx3Zwi0sMsE\ndA0TXi9xDUnDQVeH8RoPZqfkg4onKOac82YW6uvlkc+WBGBYLDlcsoRkhGMg0j7m\nT4XxXsCeErD8Y0O4IjttjgNg+VpD+G5hmSTknSDMpt028kNCsTS7pYot0dSxBgtK\nGZEll349NvNHyTJmIe7rDLVngY6W/U0qTZbWlZP9hxDIgpANbgOC3jaT3kZqETd1\nYQ4Fr010MUO8wslQrP5RxRG9beYpb09MUBDpqnd3YPIHDi9c0p4l0bc+SHbgNiIr\nOiQWSeSTFFuKPgoP/sa69hN5FhKRd0UO1hOOS/Jv6Fhd9A5bbcQ/WPHTz/krV3xf\nEwod+BwRk8tvA7TZoLw3wFiRbpwJQmD214sfd1RUhGrZAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:16:02Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:33993" +time="2023-07-27T20:16:02Z" 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:[S+bm12jETP4/HWkYUpau+ZCMZSFN4EQ/KID7emThbEY0paac76DpmEHBKL4pDnyOjDii2LDng31Wv7bDZLft/G73G1L+ottKiNYb5huikKgbL9sl2wZJClL9uBNx2DloG4Ij5evWS/saLjdl0yb2peMcRfXZ5dNjOhvsksSlsZ+/onduNMxfk4ocSqjk41Oz+82gYMi0nuIu0awfN1y/CyFJnIgTeFLrCRE9+1HAqnCjUf8RaJP9O8+OmVqLDIOa92sZrolQYcmC/ij7yA7VQfJctVpAlSxWOfgrcPqad/f6/+11k0jwaNeqRZLQ9PS3zOqCTtfcAq4+l0UOXw+BUbCxArszUoeN+YYJiBj5zeEV95/tgUsiZZbbKXbhFL8RQvWN6EqZ0R58qIy1y39LGeETAHLrh3A8BRXAZOoxyUVsuE45ufzQgSiH5PhGtqPvz4aek1I6O5DHxpr2bt1i7sWBCRWHTYhO+oh1qPPOpDBK44PCJb6oJ9bfYeHEScGN]] 0xc000388440 701 [] false 127.0.0.1:33993 map[] map[] map[] 127.0.0.1:58402 /api/devices/v1/authentication/auth_requests 0xc000388480}" +time="2023-07-27T20:16:02Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:16:02 GMT]] 0xc000402da0 0 [] false false map[] 0xc00021a900 }" +time="2023-07-27T20:16:02Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" +time="2023-07-27T20:16:02Z" level=error msg="Got unexpected HTTP status when reporting status: 401" +time="2023-07-27T20:16:02Z" level=error msg="error reporting update status: (request_id: ): reporting status failed, bad status 401 server error message: failed to parse server response: EOF" +time="2023-07-27T20:16:02Z" 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]] 0xc0002d1740 21 [] false 127.0.0.1:33993 map[] map[] map[] 127.0.0.1:58402 /api/devices/v1/deployments/device/deployments/foobar/status 0xc0002d1780}" +time="2023-07-27T20:16:02Z" level=info msg="request for foobar/status" +time="2023-07-27T20:16:02Z" 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]] 0xc0002d1740 21 [] false 127.0.0.1:33993 map[] map[] map[] 127.0.0.1:58402 /api/devices/v1/deployments/device/deployments/foobar/status 0xc0002d1780}" +time="2023-07-27T20:16:02Z" level=error msg="bad authorization value: Bearer" +time="2023-07-27T20:16:02Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2023-07-27T20:16:02Z" level=debug msg="Tenant token: " +time="2023-07-27T20:16:02Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAwpz4WfGd83/nd0hpMJ4e\n+Tmk+Ees09kagMBU3f93wjCd0lOx89ejJxwbvGGZ4RNbnSna8x1QjFvPMit1QUct\nujPzWLZM0UdhEzlwevPIUCAdba9TYRZ+4aL2qqrlH6nDvG1ocFyUiLx3Zwi0sMsE\ndA0TXi9xDUnDQVeH8RoPZqfkg4onKOac82YW6uvlkc+WBGBYLDlcsoRkhGMg0j7m\nT4XxXsCeErD8Y0O4IjttjgNg+VpD+G5hmSTknSDMpt028kNCsTS7pYot0dSxBgtK\nGZEll349NvNHyTJmIe7rDLVngY6W/U0qTZbWlZP9hxDIgpANbgOC3jaT3kZqETd1\nYQ4Fr010MUO8wslQrP5RxRG9beYpb09MUBDpqnd3YPIHDi9c0p4l0bc+SHbgNiIr\nOiQWSeSTFFuKPgoP/sa69hN5FhKRd0UO1hOOS/Jv6Fhd9A5bbcQ/WPHTz/krV3xf\nEwod+BwRk8tvA7TZoLw3wFiRbpwJQmD214sfd1RUhGrZAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:16:02Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:33993" +time="2023-07-27T20:16:02Z" 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:[S+bm12jETP4/HWkYUpau+ZCMZSFN4EQ/KID7emThbEY0paac76DpmEHBKL4pDnyOjDii2LDng31Wv7bDZLft/G73G1L+ottKiNYb5huikKgbL9sl2wZJClL9uBNx2DloG4Ij5evWS/saLjdl0yb2peMcRfXZ5dNjOhvsksSlsZ+/onduNMxfk4ocSqjk41Oz+82gYMi0nuIu0awfN1y/CyFJnIgTeFLrCRE9+1HAqnCjUf8RaJP9O8+OmVqLDIOa92sZrolQYcmC/ij7yA7VQfJctVpAlSxWOfgrcPqad/f6/+11k0jwaNeqRZLQ9PS3zOqCTtfcAq4+l0UOXw+BUbCxArszUoeN+YYJiBj5zeEV95/tgUsiZZbbKXbhFL8RQvWN6EqZ0R58qIy1y39LGeETAHLrh3A8BRXAZOoxyUVsuE45ufzQgSiH5PhGtqPvz4aek1I6O5DHxpr2bt1i7sWBCRWHTYhO+oh1qPPOpDBK44PCJb6oJ9bfYeHEScGN]] 0xc0002d18c0 701 [] false 127.0.0.1:33993 map[] map[] map[] 127.0.0.1:58402 /api/devices/v1/authentication/auth_requests 0xc0002d1900}" +time="2023-07-27T20:16:02Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[9] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:16:02 GMT]] 0xc000200ea0 9 [] false false map[] 0xc00021ad00 }" +time="2023-07-27T20:16:02Z" level=debug msg="Receive response data" +time="2023-07-27T20:16:02Z" level=debug msg="Received response data: [116 111 107 101 110 100 97 116 97]" +time="2023-07-27T20:16:02Z" 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]] 0xc000020bc0 21 [] false 127.0.0.1:33993 map[] map[] map[] 127.0.0.1:58402 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000020c00}" +time="2023-07-27T20:16:02Z" level=info msg="request for foobar/status" +time="2023-07-27T20:16:02Z" 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]] 0xc000020bc0 21 [] false 127.0.0.1:33993 map[] map[] map[] 127.0.0.1:58402 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000020c00}" +time="2023-07-27T20:16:02Z" level=warning msg="Status report rejected, deployment aborted at the backend" +time="2023-07-27T20:16:02Z" level=error msg="error reporting update status: (request_id: ): deployment was aborted server error message: failed to parse server response: EOF" +--- PASS: TestMenderReportStatus (0.09s) === RUN TestMenderLogUpload -time="2023-07-27T20:07:13Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:13Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:13Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2023-07-27T20:07:13Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc000382800 136 [] false 127.0.0.1:33575 map[] map[] map[] 127.0.0.1:50362 /api/devices/v1/deployments/device/deployments/foobar/log 0xc000382840}" -time="2023-07-27T20:07:13Z" level=info msg="request for foobar/log" -time="2023-07-27T20:07:13Z" level=info msg="got log request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc000382800 136 [] false 127.0.0.1:33575 map[] map[] map[] 127.0.0.1:50362 /api/devices/v1/deployments/device/deployments/foobar/log 0xc000382840}" -time="2023-07-27T20:07:13Z" level=info msg="got logs: [123 32 34 109 101 115 115 97 103 101 115 34 58 10 91 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 50 34 44 32 34 108 101 118 101 108 34 58 32 34 101 114 114 111 114 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 102 111 111 34 32 125 44 10 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 51 34 44 32 34 108 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 98 97 114 34 32 125 93 10 125]" -time="2023-07-27T20:07:13Z" level=debug msg="Logs uploaded, response &{204 No Content 204 HTTP/1.1 1 1 map[Date:[Thu, 27 Jul 2023 20:07:13 GMT]] 0xc000380ec0 0 [] false false map[] 0xc00038c800 }" -time="2023-07-27T20:07:13Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc000382a00 136 [] false 127.0.0.1:33575 map[] map[] map[] 127.0.0.1:50362 /api/devices/v1/deployments/device/deployments/foobar/log 0xc000382a40}" -time="2023-07-27T20:07:13Z" level=info msg="request for foobar/log" -time="2023-07-27T20:07:13Z" level=info msg="got log request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/log HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[136] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc000382a00 136 [] false 127.0.0.1:33575 map[] map[] map[] 127.0.0.1:50362 /api/devices/v1/deployments/device/deployments/foobar/log 0xc000382a40}" -time="2023-07-27T20:07:13Z" level=error msg="bad token, got Bearer tokendata expected footoken" -time="2023-07-27T20:07:13Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2023-07-27T20:07:13Z" level=debug msg="Needs keys" -time="2023-07-27T20:07:13Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2023-07-27T20:07:14Z" level=debug msg="Tenant token: " -time="2023-07-27T20:07:14Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA03OSAXziVHvZLOVysS+y\nAqBFcFL96xAuIhxYmk4EDseFQFtLFGs4ZZ+CdN7FGlKp2P+dFxdxf9Y8zWgNu8IY\ngprowUKFvVkvaaDMV0njiUo73CW8h36BbtXNeMP/BhHIS/LmKTdSeO/iJAiZ27ts\nrElFzWx53O58KE9vVqiCSzEif9B9XZslbbwWlo0TNSqqJbDAAwaefuiB24fylL/u\nFXeoKErtIMNjrGMJrfq0A1brosXVBb6UTTBcjRNtfUqw3ogBNNMqui9NvkG1a1nU\nRpnVOmfAPnK43aEBnJkCDise4XAvxejy4sttpIKM2wKqfoewTs1gdwiym8IyeFd4\ned12UoEC0svKjG7rCjol7ZdRqdZLaGy6B4DO0IGmmnYwYgHJPHKlHfDkflQS6BHE\nnEnsKDWXaRMZ9R+XsRsgwK9rROxfix4pJQrG1lTG/H6T3DEMvWEOWKHGcNe9Al5x\nteVeUBd+fYB/TiO7iihCFAz7AR7rq1yU1vSskSc4QX2TAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:07:15Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:33575" -time="2023-07-27T20:07:15Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[d4CiHa02YLDgyqAVzckn8KEsuwx2xcjuOJdlUcgdS6v62RmX6ovP7MS9kMUOeTIljmhQ/NgHai5++wecXAW0qNm6i/XrRbax81Kcsb8xXt50gW0dcIX3VNYgLatOh++gr/Us+HzOQuLXNGF4SLGdzBFKyY6j6D2PZyfFz9q5iTeOWXbwJ9ZLYZb6hSoAk5dalYswQ5lyj7V5YngWshUYMnbRalEfWlzuW+BOmXKuBJjjl54Jj5S8qrdTUl72/bVDgZ1WTHZXkDAlh3vCt3afPlyX0Pt3fLNq/aTWd93F2On+Nq7Bp8MKMd9YCqLkkYXnMDQSgSXlHMukSxiptN4f+LISo9DnkPo6MjQBib8D2ig/wTnYNL1H66xAlvRuLrWx1F+bl1z/agdJTMk1vgomMPVMqOVMSoy4ig8R1i63Pv/Fi6O2mghiWHxMiEyklczG2Sg50OpBoKR6LHQ1sFf3RoOihOLZR4QgtH6WZhU1iI0j3GbCaclbFUhTqPXvYsel]] 0xc000382e00 701 [] false 127.0.0.1:33575 map[] map[] map[] 127.0.0.1:50362 /api/devices/v1/authentication/auth_requests 0xc000382e40}" -time="2023-07-27T20:07:15Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:15 GMT]] 0xc000381aa0 0 [] false false map[] 0xc00038d500 }" -time="2023-07-27T20:07:15Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" -time="2023-07-27T20:07:15Z" level=error msg="Got unexpected HTTP status when uploading log: 401" -time="2023-07-27T20:07:15Z" level=error msg="error uploading logs: (request_id: ): uploading logs failed, bad status 401 server error message: failed to parse server response: EOF" ---- PASS: TestMenderLogUpload (1.25s) +time="2023-07-27T20:16:02Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:02Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:02Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2023-07-27T20:16:02Z" 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]] 0xc0002d19c0 136 [] false 127.0.0.1:39491 map[] map[] map[] 127.0.0.1:41328 /api/devices/v1/deployments/device/deployments/foobar/log 0xc0002d1a00}" +time="2023-07-27T20:16:02Z" level=info msg="request for foobar/log" +time="2023-07-27T20:16:02Z" 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]] 0xc0002d19c0 136 [] false 127.0.0.1:39491 map[] map[] map[] 127.0.0.1:41328 /api/devices/v1/deployments/device/deployments/foobar/log 0xc0002d1a00}" +time="2023-07-27T20:16:02Z" level=info msg="got logs: [123 32 34 109 101 115 115 97 103 101 115 34 58 10 91 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 50 34 44 32 34 108 101 118 101 108 34 58 32 34 101 114 114 111 114 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 102 111 111 34 32 125 44 10 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 51 34 44 32 34 108 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 98 97 114 34 32 125 93 10 125]" +time="2023-07-27T20:16:02Z" level=debug msg="Logs uploaded, response &{204 No Content 204 HTTP/1.1 1 1 map[Date:[Thu, 27 Jul 2023 20:16:02 GMT]] 0xc00036a160 0 [] false false map[] 0xc00021b500 }" +time="2023-07-27T20:16:02Z" 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]] 0xc0002d1b40 136 [] false 127.0.0.1:39491 map[] map[] map[] 127.0.0.1:41328 /api/devices/v1/deployments/device/deployments/foobar/log 0xc0002d1b80}" +time="2023-07-27T20:16:02Z" level=info msg="request for foobar/log" +time="2023-07-27T20:16:02Z" 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]] 0xc0002d1b40 136 [] false 127.0.0.1:39491 map[] map[] map[] 127.0.0.1:41328 /api/devices/v1/deployments/device/deployments/foobar/log 0xc0002d1b80}" +time="2023-07-27T20:16:02Z" level=error msg="bad token, got Bearer tokendata expected footoken" +time="2023-07-27T20:16:02Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2023-07-27T20:16:02Z" level=debug msg="Needs keys" +time="2023-07-27T20:16:02Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2023-07-27T20:16:03Z" level=debug msg="Tenant token: " +time="2023-07-27T20:16:03Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2WGmGust3CVTf6evOLVS\nCjC2cOJMEQSm2h5s+oyRepylYE2+XyzlB7HCJqhIAfHhv1EAead+f/9Ifl7e1Iqx\ni4V3uni0XNm79SoPQj7ua7yWChqSxUDbU1+fxjMwILHRI/+Kmnrld+b8eVMKjOMT\njlvhfajykvFctIRYQsEC7okz2YU80udjIGAYIm+TDIIlbljLvx6ZaFmztEGuNS2T\natDrKKhfJDaILgP099q/PW5MtF+7RyZ0anPqzDM7YsrgpU4X7umsD9U0Hxo0XRi3\nplGGEmcD4YJt32kj4cFdRG1zpsraJp2ov10gzYUW7WEuVQz289Fkl9LCZG/9yLlb\nN4VbGEkPrFzEGJjleMVFx/w/ayewSGnxDhz+C5rrDYJZEWmXlW+DgV8xp+NamHVt\n/54NBZ7AsRrFNamOUktrWjBdTAnk0YD25//6WVNBIz68lVvfaceXFCAlpHir4Nv+\nNj161/VkZ5A3uQWxN4kQXKfSOQ4329qligXvb7MZogq7AgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:16:03Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:39491" +time="2023-07-27T20:16:03Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[fR8Vlg8JV5vRdvge/zkyu0ffr/HjwrS1OPSFJ+7VyLKnuobwTJ3iC7XQp88DVlfxEw18QuPcI7XKlyN5jmYhvo7c6ujG5sqLOVJSLXSeoJ+LGB5RF5IVbU5i6FY3vjVAMrnd/cVnpCIYnyXm1r2u8jFPmp7MGEBaSic16jJB1PorLmqvu82H8VqZWk6IseCMex8jS66cZsENC9y8AVvft285NEPBIfjYsj53vwmD0c6L4TrbqUY0XY4SsMFlENbG2zt/Bv1w6Rcvi7QWRuIgKCmPUnZwTsw81xtmNlObr5U9PnaoSTx7hR9Ufa9qeoYKBrkUk36Nf+Fr4CZMpRnGuYSala9oUojy+PJS3j/d1/o1Cs5d6N3LSFELd1hhcgQjZT02GOiD6Wspm46hp21Hegy+CyRypI7D7NlyDjFyf7eiRwCSGFJdRnvwiKYTsYRIolKJ2whVGaCrf4GF1UIExX/jyNO7qu3WJy9fJnwUIt9KVvNT4fSFXRoOJb3W1cia]] 0xc000388500 701 [] false 127.0.0.1:39491 map[] map[] map[] 127.0.0.1:41328 /api/devices/v1/authentication/auth_requests 0xc000388540}" +time="2023-07-27T20:16:03Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:16:03 GMT]] 0xc000403da0 0 [] false false map[] 0xc000370300 }" +time="2023-07-27T20:16:03Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" +time="2023-07-27T20:16:03Z" level=error msg="Got unexpected HTTP status when uploading log: 401" +time="2023-07-27T20:16:03Z" 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.93s) === RUN TestAuthToken -time="2023-07-27T20:07:15Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:15Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:15Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-644590578/artifact_info file." -time="2023-07-27T20:07:15Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-644590578/artifact_info" -time="2023-07-27T20:07:15Z" level=debug msg="artifact_name=fake-id" -time="2023-07-27T20:07:15Z" level=debug msg="Current manifest data: fake-id" -time="2023-07-27T20:07:15Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-644590578/device_type" -time="2023-07-27T20:07:15Z" level=debug msg="device_type=foo-bar" -time="2023-07-27T20:07:15Z" level=debug msg="Current manifest data: foo-bar" -time="2023-07-27T20:07:15Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[51] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc000383500 51 [] false 127.0.0.1:40905 map[] map[] map[] 127.0.0.1:50822 /api/devices/v1/deployments/device/deployments/next 0xc000383540}" -time="2023-07-27T20:07:15Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2023-07-27T20:07:15Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:40905 map[] map[] map[] 127.0.0.1:50834 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0xc0003837c0}" -time="2023-07-27T20:07:15Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:40905 map[] map[] map[] 127.0.0.1:50834 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0xc0003837c0}" -time="2023-07-27T20:07:15Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[foo-bar]]" -time="2023-07-27T20:07:15Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2023-07-27T20:07:15Z" level=debug msg="Needs keys" -time="2023-07-27T20:07:15Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2023-07-27T20:07:16Z" level=debug msg="Tenant token: " -time="2023-07-27T20:07:16Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAwRSfHNBZ2GKDxTc65Z59\nfNNvzgj5h0+8M1XN8UH6bWsbwglwbHR5+9ZQoN0ialLdrK4ajeu36UTR3wUnCnp5\n8Lw49NJwCfKbqM1oDjzQmwYmE5Y/EFKnt2jRCfRhSxjWubC9BJGRz1qWCXlZIXuF\nex209B0LwSzZqJGlxu+Fi2HeRWidNOsDIbfm5XzoiUzKnby62vglhx5ODhGX1t8x\nMG3XA+QPs3yRV7TMn8rP/ee8pD9+fDGs9cTNz2XAzsG4Y9nYkKnKIWyCWeOZakDL\nHuma529vDk/Zsd7fyxa0zJLobPj4xiWIRne/yVRaA95JUPpQSIhguahotuEmVpU4\nPeH58zKb5knXJ0TBQO1gkpHCpijF3FqvepHOozApoLHAeuX8GxL7SyD23qm9H/XQ\nG69dA7EnQWF5xSrDIgr6Fy0seroKnDTN141b2IIWPZnywZtkWcVJ2ETmMzNLEk0X\njmte6FYiIPfUOtBqgKTG65PtHXF3/13d1hiv3fjpal+LAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:07:16Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40905" -time="2023-07-27T20:07:16Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[Y5QbjYcdAeGS/R8FK0Xi4OsZxMasXv+mOeZK8PLeCO8K1yW8IV4/33/mmNL9OxpPtrn87m3GTfq0T5XIO+FWeZOiyrYnjE2ojEUToVC4lVdTEVnB7hDw7ux48cdS3oi+dAUgoQClvN2PpxMr3LoAMI62+IaqPOx6nMUM1IH7d0fW55dEdbb4grZXnchh06VRMAbiqZtHSvCbElTdGT7hvE5CwvqiexWyEzbwuz809EsZrbpi3Afbs+/OKCF+4BzqfSDcHLOxFvtwWO5Q7JOJEFuF0UEvN8GL3q8lpjfpVgt4KH5++nwueo3AyrPytVPVuhZ03pwuamFIuUUOwUzMhGeXqVmKHRR6Ec7Yuzt9zDSxk5Pa9AkxuXm0LweDAyvQtr7dN/t5MWtSfGbIT/IZ91fuPSI5WzswJRFhrdmuLCy6vkfOhK/bRjj6OVVocP9Xn787C41uNl+sWckI43u2GvJdMOtYWgqWPSiLPwEY0GBvoVdKK/9bkPbktLE8F0wL]] 0xc000383b40 701 [] false 127.0.0.1:40905 map[] map[] map[] 127.0.0.1:50834 /api/devices/v1/authentication/auth_requests 0xc000383b80}" -time="2023-07-27T20:07:16Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:16 GMT]] 0xc000416cc0 0 [] false false map[] 0xc000420500 }" -time="2023-07-27T20:07:16Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" -time="2023-07-27T20:07:16Z" level=debug msg="Received response:401 Unauthorized" -time="2023-07-27T20:07:16Z" level=warning msg="Client not authorized to get update schedule." -time="2023-07-27T20:07:16Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" ---- PASS: TestAuthToken (1.40s) +time="2023-07-27T20:16:03Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:03Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:03Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-206502267/artifact_info file." +time="2023-07-27T20:16:03Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-206502267/artifact_info" +time="2023-07-27T20:16:03Z" level=debug msg="artifact_name=fake-id" +time="2023-07-27T20:16:03Z" level=debug msg="Current manifest data: fake-id" +time="2023-07-27T20:16:03Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-206502267/device_type" +time="2023-07-27T20:16:03Z" level=debug msg="device_type=foo-bar" +time="2023-07-27T20:16:03Z" level=debug msg="Current manifest data: foo-bar" +time="2023-07-27T20:16:03Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[51] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc000575980 51 [] false 127.0.0.1:44829 map[] map[] map[] 127.0.0.1:39034 /api/devices/v1/deployments/device/deployments/next 0xc0005759c0}" +time="2023-07-27T20:16:03Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2023-07-27T20:16:03Z" 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:44829 map[] map[] map[] 127.0.0.1:39050 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0xc000021040}" +time="2023-07-27T20:16:03Z" 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:44829 map[] map[] map[] 127.0.0.1:39050 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0xc000021040}" +time="2023-07-27T20:16:03Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[foo-bar]]" +time="2023-07-27T20:16:03Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2023-07-27T20:16:03Z" level=debug msg="Needs keys" +time="2023-07-27T20:16:03Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2023-07-27T20:16:04Z" level=debug msg="Tenant token: " +time="2023-07-27T20:16:04Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAu+UIwUHXTLM+vlJCnqna\nzXF86XiyUdq/Yp146xF7867KSppl46L3EqikVLZGe91NHSTy9E5hzeuXHoO6CoTx\nyahPwrikY40WYmuTkvhbuvSyf6+X0LUL2QHYPU5HaPhb43zwPLUvwPv1SRBJjmtm\nP78vfpQcZgtjyM6ZmRioWgmANtrohUhQb7aQRiYQbac9ag9caXuaiMSMsB49+ids\nRfOVEXCVzx/Sxu8L+E9Kgo0CG01LLMtP06yhy907Hl+PXQeyvDbKxiy8Vran0l4k\nHe9ThUHcs7jR2KFMJowgzLx2QRACBnDkuA5D5t1bkiVx12U4z5wIzjsyXL9TyDRr\n3x61Fg4zjJoUoBJAp+XUar/Q5BYb+idaJBse9axSGi5HUEixffwSuYq/xttapx0R\n+PLXHZxX8pv/GkRwRXx0bbxvHj/fCu6vF35q2IyL5E4mSPOHnDvUp9N0oM50Ytjt\nogIVEt1rZoJEHIcFjAXPzb4or1HbS3vRmySeqZ6A3u3VAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:16:04Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:44829" +time="2023-07-27T20:16:04Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[ZbBN/tEOTvfT2sCkeuAapi3r8v29/4q97jiBUZj39VKCfAAAn0yHUS3PekA2wad36TkQsRj+lefSCqvssoeXFhn03KJ/sH0F4S97TFuv6w0/Q/fkA77CnxXQdvtQkvO00c0xzGMsVJK6i12iCr9LBba5WPA9MkQwAoTybRga3xldFWCzPCBEzztHW1v3nUhamNxPmoSMLXPcMp0BI6IQLeofJE13LA24L6AAKcTJwo5M40zn/tjRoPRuBzF/detG01hOaQMdFognkE+wRQNYCFqJvMQ9milsB8cFno9sp15jxy2wliXTCDEWncJt8jbWnFxD8oH0qVv4KeUFaCF+liCw+AYIROvEVCed0IW/mf79mVhMSOrQFmsoUFt0YU9y5pv1nZVeBLRLDI3Y7B8fnNKZ8+XsrnvFNubc5cXte80rPb0bfvNkUm8rrJC0ApiUoCwlvoYyZnL0Hq2p3Lh8Nfh4plfdQl7ncDMXxULglXtzWhIWYkC0xue2f7c6lPVz]] 0xc000021140 701 [] false 127.0.0.1:44829 map[] map[] map[] 127.0.0.1:39050 /api/devices/v1/authentication/auth_requests 0xc000021180}" +time="2023-07-27T20:16:04Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:16:04 GMT]] 0xc000386e20 0 [] false false map[] 0xc000398800 }" +time="2023-07-27T20:16:04Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" +time="2023-07-27T20:16:04Z" level=debug msg="Received response:401 Unauthorized" +time="2023-07-27T20:16:04Z" level=warning msg="Client not authorized to get update schedule." +time="2023-07-27T20:16:04Z" 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.56s) === RUN TestMenderInventoryRefresh -time="2023-07-27T20:07:16Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:16Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2023-07-27T20:07:16Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-775601321/artifact_info file." -time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-775601321/artifact_info" -time="2023-07-27T20:07:16Z" level=debug msg="artifact_name=fake-id" -time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: fake-id" -time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-775601321/device_type" -time="2023-07-27T20:07:16Z" level=debug msg="device_type=foo-bar" -time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: foo-bar" -time="2023-07-27T20:07:16Z" level=info msg="got inventory request &{PATCH /api/devices/v1/inventory/device/attributes HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[137] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc0004da040 137 [] false 127.0.0.1:37893 map[] map[] map[] 127.0.0.1:49558 /api/devices/v1/inventory/device/attributes 0xc0004da080}" -time="2023-07-27T20:07:16Z" level=info msg="got attrs: [{artifact_name fake-id} {mender_client_version unknown} {device_type foo-bar}]" -time="2023-07-27T20:07:16Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:16 GMT]] 0xc0004e8340 0 [] false false map[] 0xc000420b00 }" -time="2023-07-27T20:07:16Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-775601321/artifact_info file." -time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-775601321/artifact_info" -time="2023-07-27T20:07:16Z" level=debug msg="artifact_name=fake-id" -time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: fake-id" -time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-775601321/device_type" -time="2023-07-27T20:07:16Z" level=debug msg="device_type=foo-bar" -time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: foo-bar" -time="2023-07-27T20:07:16Z" level=info msg="got inventory request &{PATCH /api/devices/v1/inventory/device/attributes HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[166] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc0004da440 166 [] false 127.0.0.1:37893 map[] map[] map[] 127.0.0.1:49558 /api/devices/v1/inventory/device/attributes 0xc0004da480}" -time="2023-07-27T20:07:16Z" level=info msg="got attrs: [{mender_client_version unknown} {foo bar} {device_type foo-bar} {artifact_name fake-id}]" -time="2023-07-27T20:07:16Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:16 GMT]] 0xc0004e8ba0 0 [] false false map[] 0xc000484300 }" -time="2023-07-27T20:07:16Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-775601321/artifact_info file." -time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-775601321/artifact_info" -time="2023-07-27T20:07:16Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-775601321/artifact_info file." -time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-775601321/artifact_info" ---- PASS: TestMenderInventoryRefresh (0.03s) +time="2023-07-27T20:16:04Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:04Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2023-07-27T20:16:04Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-715251358/artifact_info file." +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-715251358/artifact_info" +time="2023-07-27T20:16:04Z" level=debug msg="artifact_name=fake-id" +time="2023-07-27T20:16:04Z" level=debug msg="Current manifest data: fake-id" +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-715251358/device_type" +time="2023-07-27T20:16:04Z" level=debug msg="device_type=foo-bar" +time="2023-07-27T20:16:04Z" level=debug msg="Current manifest data: foo-bar" +time="2023-07-27T20:16:04Z" 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]] 0xc0003880c0 137 [] false 127.0.0.1:37087 map[] map[] map[] 127.0.0.1:41270 /api/devices/v1/inventory/device/attributes 0xc000388100}" +time="2023-07-27T20:16:04Z" level=info msg="got attrs: [{device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown}]" +time="2023-07-27T20:16:04Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:16:04 GMT]] 0xc0002002e0 0 [] false false map[] 0xc00050c100 }" +time="2023-07-27T20:16:04Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-715251358/artifact_info file." +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-715251358/artifact_info" +time="2023-07-27T20:16:04Z" level=debug msg="artifact_name=fake-id" +time="2023-07-27T20:16:04Z" level=debug msg="Current manifest data: fake-id" +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-715251358/device_type" +time="2023-07-27T20:16:04Z" level=debug msg="device_type=foo-bar" +time="2023-07-27T20:16:04Z" level=debug msg="Current manifest data: foo-bar" +time="2023-07-27T20:16:04Z" 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]] 0xc0000200c0 166 [] false 127.0.0.1:37087 map[] map[] map[] 127.0.0.1:41270 /api/devices/v1/inventory/device/attributes 0xc000020100}" +time="2023-07-27T20:16:04Z" level=info msg="got attrs: [{device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown} {foo bar}]" +time="2023-07-27T20:16:04Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:16:04 GMT]] 0xc000386080 0 [] false false map[] 0xc00025c300 }" +time="2023-07-27T20:16:04Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-715251358/artifact_info file." +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-715251358/artifact_info" +time="2023-07-27T20:16:04Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-715251358/artifact_info file." +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-715251358/artifact_info" +--- PASS: TestMenderInventoryRefresh (0.01s) === RUN TestMenderStoreUpdate -time="2023-07-27T20:07:16Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:16Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-643899587/device_type: no such file or directory" -time="2023-07-27T20:07:16Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2023-07-27T20:07:16Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-643899587/device_type: no such file or directory" -time="2023-07-27T20:07:16Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-643899587/device_type" -time="2023-07-27T20:07:16Z" level=debug msg="device_type=bogusdevicetype" -time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: bogusdevicetype" -time="2023-07-27T20:07:16Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2023-07-27T20:07:16Z" level=debug msg="Checking if device [bogusdevicetype] is on compatible device list: [vexpress-qemu]\n" -time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-643899587/device_type" -time="2023-07-27T20:07:16Z" level=debug msg="device_type=vexpress-qemu" -time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: vexpress-qemu" -time="2023-07-27T20:07:16Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2023-07-27T20:07:16Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2023-07-27T20:07:16Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" -time="2023-07-27T20:07:16Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-643899587/device_type" -time="2023-07-27T20:07:16Z" level=debug msg="device_type=vexpress-qemu" -time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: vexpress-qemu" -time="2023-07-27T20:07:16Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2023-07-27T20:07:16Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2023-07-27T20:07:16Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" ---- PASS: TestMenderStoreUpdate (0.19s) +time="2023-07-27T20:16:04Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:04Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-793685376/device_type: no such file or directory" +time="2023-07-27T20:16:04Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:04Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2023-07-27T20:16:04Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-793685376/device_type: no such file or directory" +time="2023-07-27T20:16:04Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:04Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-793685376/device_type" +time="2023-07-27T20:16:04Z" level=debug msg="device_type=bogusdevicetype" +time="2023-07-27T20:16:04Z" level=debug msg="Current manifest data: bogusdevicetype" +time="2023-07-27T20:16:04Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:04Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2023-07-27T20:16:04Z" level=debug msg="Checking if device [bogusdevicetype] is on compatible device list: [vexpress-qemu]\n" +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-793685376/device_type" +time="2023-07-27T20:16:04Z" level=debug msg="device_type=vexpress-qemu" +time="2023-07-27T20:16:04Z" level=debug msg="Current manifest data: vexpress-qemu" +time="2023-07-27T20:16:04Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:04Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2023-07-27T20:16:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2023-07-27T20:16:04Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" +time="2023-07-27T20:16:04Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-793685376/device_type" +time="2023-07-27T20:16:04Z" level=debug msg="device_type=vexpress-qemu" +time="2023-07-27T20:16:04Z" level=debug msg="Current manifest data: vexpress-qemu" +time="2023-07-27T20:16:04Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:04Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2023-07-27T20:16:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2023-07-27T20:16:04Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" +--- PASS: TestMenderStoreUpdate (0.03s) === RUN TestMenderFetchUpdate -time="2023-07-27T20:07:16Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:16Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2023-07-27T20:07:16Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2023-07-27T20:07:16Z" level=info msg="got update download request &{GET /api/devices/v1/download HTTP/1.1 1 1 map[Accept-Encoding:[gzip] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:36113 map[] map[] map[] 127.0.0.1:60400 /api/devices/v1/download 0xc000020140}" -time="2023-07-27T20:07:16Z" level=debug msg="Received fetch update response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[8192] Content-Type:[application/octet-stream] Date:[Thu, 27 Jul 2023 20:07:16 GMT]] 0xc0004e8220 8192 [] false false map[] 0xc0000dc100 }+" +time="2023-07-27T20:16:04Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:04Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2023-07-27T20:16:04Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2023-07-27T20:16:04Z" 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:35825 map[] map[] map[] 127.0.0.1:46332 /api/devices/v1/download 0xc0005a80c0}" +time="2023-07-27T20:16:04Z" level=debug msg="Received fetch update response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[8192] Content-Type:[application/octet-stream] Date:[Thu, 27 Jul 2023 20:16:04 GMT]] 0xc00000e880 8192 [] false false map[] 0xc0000d2300 }+" --- PASS: TestMenderFetchUpdate (0.00s) === RUN TestReauthorization -time="2023-07-27T20:07:16Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:16Z" level=debug msg="Needs keys" -time="2023-07-27T20:07:16Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2023-07-27T20:07:21Z" level=debug msg="Tenant token: " -time="2023-07-27T20:07:21Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2S8x+kDk+As3/v/U/BNu\n//KB70wKZ3uMOWlxNq41lA6cn62bFG7bHbUducLr2slEaF9ezH0niFMU0Ow0SUrF\nNAQ1tAq9GXaVidrNC8qM/OoMHadlxB9G3wC/2fHrZCbPvIDlEH0UOGPtoM3KtwfX\n88k6/r82yVEtpmLj3OGk33TZe2K6vtFtoKTuLurYNJJ/b4SWrE6Ru7JHuo4iAc1A\n20UWrtigDLKOmamJx0UGSNJZ1NKreDOKjd+QGhXFDLHXLor908m8wn1icUcF5tZi\n6jk0yZdpfj7zc3WX3ayCY2PdXwWZ3udwX0Mg6G4mEu9rvmsIgPEuAgUmDw5MCRrc\nnaG1B4AQPB34PC8HfQbgYaxnamJKFqdnmnb2QSV+x8pC3CKEZOK/zbDpgBsszXLT\nYm3ylbZQOUi0hQG081yqm6aGee9NYMJ8z7vR2fcH0NIWI/bDt3WlxjLywzDc/z7z\nrsaeFVRt2zZB3ti6UojuP3+kDGAJ6QlximJBIdpWRxFbAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:07:21Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:42635" -time="2023-07-27T20:07:21Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[oALEMUhngj+0mzQ1HBDs9WMYKX++unN89PCAoPGAR/qzThzX2gdxDamoq3ag051jvziTB403LsARDD/IYCc5K133asQs2/G0pzu96Ci9FV4Myp4R098QjfHc6cu30aby8WUGBXOli3OrzMd7c7WTQtW1epsROLDH8bB624xjP080q04YXON01prXoTsdNSGDY+y4cRoD/m8Uj/Nws91aHOpeg+QzNrwjMVIVozYzL/R/52y8BuL2OPmBMHxhe891QT2xLrrr7XXj1uS26dFoarp7A0o2dRxbdZ+2N7M3xCZYTpzomQ1ZHQxCcNgwKN++/rJTbUEtC7cXgfg9iTEJ/LeEdYkgnWVI2lzecTOgn15dvTtOeo5+tZsiW6TA8gYigRLN2H8BZ1RBd5hkSZJf+sVF7xjODH5/a0tEu4+vquB1c0EL5PVDOivDlLUdNaef6NyIfxUMUIAxQyAbvPEUOozCO5ZyZ6Hi4N7oc+WkEwpDyGt2+aYuMt1e/W+oIlkX]] 0xc0001a0140 701 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43906 /api/devices/v1/authentication/auth_requests 0xc0001a0180}" -time="2023-07-27T20:07:21Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:07:21 GMT]] 0xc0004a22a0 3 [] false false map[] 0xc000212100 }" -time="2023-07-27T20:07:21Z" level=debug msg="Receive response data" -time="2023-07-27T20:07:21Z" level=debug msg="Received response data: [102 111 111]" -time="2023-07-27T20:07:21Z" level=info msg="successfully received new authorization data" -time="2023-07-27T20:07:21Z" level=debug msg="Returning artifact name from artifact_info file." -time="2023-07-27T20:07:21Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2023-07-27T20:07:21Z" level=debug msg="artifact_name=mender-image" -time="2023-07-27T20:07:21Z" level=debug msg="Current manifest data: mender-image" -time="2023-07-27T20:07:21Z" level=debug msg="Reading data from the device manifest file: device_type" -time="2023-07-27T20:07:21Z" level=debug msg="device_type=dev" -time="2023-07-27T20:07:21Z" level=debug msg="Current manifest data: dev" -time="2023-07-27T20:07:21Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc0001a06c0 52 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43906 /api/devices/v1/deployments/device/deployments/next 0xc0001a0700}" -time="2023-07-27T20:07:21Z" level=error msg="bad token, got Bearer foo expected bar" -time="2023-07-27T20:07:21Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2023-07-27T20:07:21Z" level=debug msg="Tenant token: " -time="2023-07-27T20:07:21Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2S8x+kDk+As3/v/U/BNu\n//KB70wKZ3uMOWlxNq41lA6cn62bFG7bHbUducLr2slEaF9ezH0niFMU0Ow0SUrF\nNAQ1tAq9GXaVidrNC8qM/OoMHadlxB9G3wC/2fHrZCbPvIDlEH0UOGPtoM3KtwfX\n88k6/r82yVEtpmLj3OGk33TZe2K6vtFtoKTuLurYNJJ/b4SWrE6Ru7JHuo4iAc1A\n20UWrtigDLKOmamJx0UGSNJZ1NKreDOKjd+QGhXFDLHXLor908m8wn1icUcF5tZi\n6jk0yZdpfj7zc3WX3ayCY2PdXwWZ3udwX0Mg6G4mEu9rvmsIgPEuAgUmDw5MCRrc\nnaG1B4AQPB34PC8HfQbgYaxnamJKFqdnmnb2QSV+x8pC3CKEZOK/zbDpgBsszXLT\nYm3ylbZQOUi0hQG081yqm6aGee9NYMJ8z7vR2fcH0NIWI/bDt3WlxjLywzDc/z7z\nrsaeFVRt2zZB3ti6UojuP3+kDGAJ6QlximJBIdpWRxFbAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:07:21Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:42635" -time="2023-07-27T20:07:21Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[oALEMUhngj+0mzQ1HBDs9WMYKX++unN89PCAoPGAR/qzThzX2gdxDamoq3ag051jvziTB403LsARDD/IYCc5K133asQs2/G0pzu96Ci9FV4Myp4R098QjfHc6cu30aby8WUGBXOli3OrzMd7c7WTQtW1epsROLDH8bB624xjP080q04YXON01prXoTsdNSGDY+y4cRoD/m8Uj/Nws91aHOpeg+QzNrwjMVIVozYzL/R/52y8BuL2OPmBMHxhe891QT2xLrrr7XXj1uS26dFoarp7A0o2dRxbdZ+2N7M3xCZYTpzomQ1ZHQxCcNgwKN++/rJTbUEtC7cXgfg9iTEJ/LeEdYkgnWVI2lzecTOgn15dvTtOeo5+tZsiW6TA8gYigRLN2H8BZ1RBd5hkSZJf+sVF7xjODH5/a0tEu4+vquB1c0EL5PVDOivDlLUdNaef6NyIfxUMUIAxQyAbvPEUOozCO5ZyZ6Hi4N7oc+WkEwpDyGt2+aYuMt1e/W+oIlkX]] 0xc0004da580 701 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43906 /api/devices/v1/authentication/auth_requests 0xc0004da5c0}" -time="2023-07-27T20:07:21Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:07:21 GMT]] 0xc0007e8a40 3 [] false false map[] 0xc000280900 }" -time="2023-07-27T20:07:21Z" level=debug msg="Receive response data" -time="2023-07-27T20:07:21Z" level=debug msg="Received response data: [98 97 114]" -time="2023-07-27T20:07:21Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc0004da840 52 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43906 /api/devices/v1/deployments/device/deployments/next 0xc0004da880}" -time="2023-07-27T20:07:21Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2023-07-27T20:07:21Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43922 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0004dab40}" -time="2023-07-27T20:07:21Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43922 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0004dab40}" -time="2023-07-27T20:07:21Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2023-07-27T20:07:21Z" level=debug msg="Received response:204 No Content" -time="2023-07-27T20:07:21Z" level=debug msg="No update available" -time="2023-07-27T20:07:21Z" level=debug msg="no updates available" -time="2023-07-27T20:07:21Z" level=debug msg="Returning artifact name from artifact_info file." -time="2023-07-27T20:07:21Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2023-07-27T20:07:21Z" level=debug msg="artifact_name=mender-image" -time="2023-07-27T20:07:21Z" level=debug msg="Current manifest data: mender-image" -time="2023-07-27T20:07:21Z" level=debug msg="Reading data from the device manifest file: device_type" -time="2023-07-27T20:07:21Z" level=debug msg="device_type=dev" -time="2023-07-27T20:07:21Z" level=debug msg="Current manifest data: dev" -time="2023-07-27T20:07:21Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc0004daf80 52 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43922 /api/devices/v1/deployments/device/deployments/next 0xc0004dafc0}" -time="2023-07-27T20:07:21Z" level=error msg="bad token, got Bearer bar expected foo" -time="2023-07-27T20:07:21Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2023-07-27T20:07:21Z" level=debug msg="Tenant token: " -time="2023-07-27T20:07:21Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2S8x+kDk+As3/v/U/BNu\n//KB70wKZ3uMOWlxNq41lA6cn62bFG7bHbUducLr2slEaF9ezH0niFMU0Ow0SUrF\nNAQ1tAq9GXaVidrNC8qM/OoMHadlxB9G3wC/2fHrZCbPvIDlEH0UOGPtoM3KtwfX\n88k6/r82yVEtpmLj3OGk33TZe2K6vtFtoKTuLurYNJJ/b4SWrE6Ru7JHuo4iAc1A\n20UWrtigDLKOmamJx0UGSNJZ1NKreDOKjd+QGhXFDLHXLor908m8wn1icUcF5tZi\n6jk0yZdpfj7zc3WX3ayCY2PdXwWZ3udwX0Mg6G4mEu9rvmsIgPEuAgUmDw5MCRrc\nnaG1B4AQPB34PC8HfQbgYaxnamJKFqdnmnb2QSV+x8pC3CKEZOK/zbDpgBsszXLT\nYm3ylbZQOUi0hQG081yqm6aGee9NYMJ8z7vR2fcH0NIWI/bDt3WlxjLywzDc/z7z\nrsaeFVRt2zZB3ti6UojuP3+kDGAJ6QlximJBIdpWRxFbAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:07:21Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:42635" -time="2023-07-27T20:07:21Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[oALEMUhngj+0mzQ1HBDs9WMYKX++unN89PCAoPGAR/qzThzX2gdxDamoq3ag051jvziTB403LsARDD/IYCc5K133asQs2/G0pzu96Ci9FV4Myp4R098QjfHc6cu30aby8WUGBXOli3OrzMd7c7WTQtW1epsROLDH8bB624xjP080q04YXON01prXoTsdNSGDY+y4cRoD/m8Uj/Nws91aHOpeg+QzNrwjMVIVozYzL/R/52y8BuL2OPmBMHxhe891QT2xLrrr7XXj1uS26dFoarp7A0o2dRxbdZ+2N7M3xCZYTpzomQ1ZHQxCcNgwKN++/rJTbUEtC7cXgfg9iTEJ/LeEdYkgnWVI2lzecTOgn15dvTtOeo5+tZsiW6TA8gYigRLN2H8BZ1RBd5hkSZJf+sVF7xjODH5/a0tEu4+vquB1c0EL5PVDOivDlLUdNaef6NyIfxUMUIAxQyAbvPEUOozCO5ZyZ6Hi4N7oc+WkEwpDyGt2+aYuMt1e/W+oIlkX]] 0xc0004db240 701 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43922 /api/devices/v1/authentication/auth_requests 0xc0004db280}" -time="2023-07-27T20:07:21Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:07:21 GMT]] 0xc0007e9c20 3 [] false false map[] 0xc0000dd500 }" -time="2023-07-27T20:07:21Z" level=debug msg="Receive response data" -time="2023-07-27T20:07:21Z" level=debug msg="Received response data: [102 111 111]" -time="2023-07-27T20:07:21Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc0004db4c0 52 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43922 /api/devices/v1/deployments/device/deployments/next 0xc0004db500}" -time="2023-07-27T20:07:21Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2023-07-27T20:07:21Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43924 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0004db780}" -time="2023-07-27T20:07:21Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43924 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0004db780}" -time="2023-07-27T20:07:21Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2023-07-27T20:07:21Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2023-07-27T20:07:21Z" level=debug msg="Tenant token: " -time="2023-07-27T20:07:21Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2S8x+kDk+As3/v/U/BNu\n//KB70wKZ3uMOWlxNq41lA6cn62bFG7bHbUducLr2slEaF9ezH0niFMU0Ow0SUrF\nNAQ1tAq9GXaVidrNC8qM/OoMHadlxB9G3wC/2fHrZCbPvIDlEH0UOGPtoM3KtwfX\n88k6/r82yVEtpmLj3OGk33TZe2K6vtFtoKTuLurYNJJ/b4SWrE6Ru7JHuo4iAc1A\n20UWrtigDLKOmamJx0UGSNJZ1NKreDOKjd+QGhXFDLHXLor908m8wn1icUcF5tZi\n6jk0yZdpfj7zc3WX3ayCY2PdXwWZ3udwX0Mg6G4mEu9rvmsIgPEuAgUmDw5MCRrc\nnaG1B4AQPB34PC8HfQbgYaxnamJKFqdnmnb2QSV+x8pC3CKEZOK/zbDpgBsszXLT\nYm3ylbZQOUi0hQG081yqm6aGee9NYMJ8z7vR2fcH0NIWI/bDt3WlxjLywzDc/z7z\nrsaeFVRt2zZB3ti6UojuP3+kDGAJ6QlximJBIdpWRxFbAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:07:21Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:42635" -time="2023-07-27T20:07:21Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[oALEMUhngj+0mzQ1HBDs9WMYKX++unN89PCAoPGAR/qzThzX2gdxDamoq3ag051jvziTB403LsARDD/IYCc5K133asQs2/G0pzu96Ci9FV4Myp4R098QjfHc6cu30aby8WUGBXOli3OrzMd7c7WTQtW1epsROLDH8bB624xjP080q04YXON01prXoTsdNSGDY+y4cRoD/m8Uj/Nws91aHOpeg+QzNrwjMVIVozYzL/R/52y8BuL2OPmBMHxhe891QT2xLrrr7XXj1uS26dFoarp7A0o2dRxbdZ+2N7M3xCZYTpzomQ1ZHQxCcNgwKN++/rJTbUEtC7cXgfg9iTEJ/LeEdYkgnWVI2lzecTOgn15dvTtOeo5+tZsiW6TA8gYigRLN2H8BZ1RBd5hkSZJf+sVF7xjODH5/a0tEu4+vquB1c0EL5PVDOivDlLUdNaef6NyIfxUMUIAxQyAbvPEUOozCO5ZyZ6Hi4N7oc+WkEwpDyGt2+aYuMt1e/W+oIlkX]] 0xc0004dba80 701 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43924 /api/devices/v1/authentication/auth_requests 0xc0004dbac0}" -time="2023-07-27T20:07:21Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:07:21 GMT]] 0xc00000f120 3 [] false false map[] 0xc00034a300 }" -time="2023-07-27T20:07:21Z" level=debug msg="Receive response data" -time="2023-07-27T20:07:21Z" level=debug msg="Received response data: [102 111 111]" -time="2023-07-27T20:07:21Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43924 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0004dbd40}" -time="2023-07-27T20:07:21Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43924 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0004dbd40}" -time="2023-07-27T20:07:21Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2023-07-27T20:07:21Z" level=debug msg="Received response:401 Unauthorized" -time="2023-07-27T20:07:21Z" level=warning msg="Client not authorized to get update schedule." -time="2023-07-27T20:07:21Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" ---- PASS: TestReauthorization (4.95s) +time="2023-07-27T20:16:04Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:04Z" level=debug msg="Needs keys" +time="2023-07-27T20:16:04Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2023-07-27T20:16:04Z" level=debug msg="Tenant token: " +time="2023-07-27T20:16:04Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA0U+OfgA5jHpK7LQoD/rF\nt77u5mOUeQdB5lPOYPglV4ITnytmhUmNARoRR+7oUtIajRK46wrankDvxbe/86qh\n78/tGwiBLmWDDI21CED6FJ7jfxnPH4pUy6OUdyoH9j6mq62mzw/ciL5lahsJyJ+S\nJUyVoVtnio30SR7qpWqtrlH9BKH739MpXb1KsM0cSSrS9GdCiKaJkBbpSHTQ4UL9\nux0m0VAdaY5TD1Ata1KHu5uS8BoFx6VeXkxii1SmZIy84Jd7YdBuoOxnUD/GPUX7\nfIm+HoUI5gZp1pOWMqQylxJerdEUCcEqFO7o6myH+LCnY0gFQLkrJI+aFfx0jyZq\nHNoZov8b3JNtyn2Y1rQ+KXCW8sJ0rEzFJFonr0DmfFC2UJmJqKyikvGCTAq/k/WW\nqrMxoi9xetAfnfozvdyr2SYhMvs1k50bTq96AneklcOyVsjcJ8xk7IsibNjWI33H\nqwE3qg84XnMxSW4AAYnBcYoReJ/WDP2xPHCFwkmjx+jbAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:16:04Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:37773" +time="2023-07-27T20:16:04Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[PS0dQHYZvw6/G7B9XPh+A8zBXUTEjsLxrZaJUVHJyvsFWM0/po8ePSbax2cR/8ZjfeIrjtmTKTArCOOtHTvpBqNgfpT9+XgnB5n2XL8DFxAP+vBQnTE7/nFavlzx33KnD9k7jcav8LIPdBCg7eA+28sibFE7sVGTmU0wEkkB84G8aJ4ia8Wej2Qd5ozQ//kpw+ctctFTLfx/fHACfmZnR3GwbdshwtRAU63Wat96HIE7EDvDqTsknuTEaggbVdgW2wnJC+RBpNodbg1YwESc84VxXg15R6y7LMCElAMXNEiPBAmlmFVsxBMqziBew0tIr5xjy0tVW9+qnKL0EwO2L/jDrlaLHiUYTptNv+mxyPa19Ni8psGftXZsfHxJSxvWYcLn62zuuV0YTEzpKzh5tgE2iGzkdwH49dhA+O4y8cWbdBl5VWTHO9DwxDpZVT4f/klWwAxRXUODdi10hplza8h76LhrVjUQct6TJexmEN0owIJLgImeeoLO5ToXGrDQ]] 0xc0005a8240 701 [] false 127.0.0.1:37773 map[] map[] map[] 127.0.0.1:46896 /api/devices/v1/authentication/auth_requests 0xc0005a8280}" +time="2023-07-27T20:16:04Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:16:04 GMT]] 0xc000200640 3 [] false false map[] 0xc00029a100 }" +time="2023-07-27T20:16:04Z" level=debug msg="Receive response data" +time="2023-07-27T20:16:04Z" level=debug msg="Received response data: [102 111 111]" +time="2023-07-27T20:16:04Z" level=info msg="successfully received new authorization data" +time="2023-07-27T20:16:04Z" level=debug msg="Returning artifact name from artifact_info file." +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2023-07-27T20:16:04Z" level=debug msg="artifact_name=mender-image" +time="2023-07-27T20:16:04Z" level=debug msg="Current manifest data: mender-image" +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: device_type" +time="2023-07-27T20:16:04Z" level=debug msg="device_type=dev" +time="2023-07-27T20:16:04Z" level=debug msg="Current manifest data: dev" +time="2023-07-27T20:16:04Z" 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]] 0xc000020680 52 [] false 127.0.0.1:37773 map[] map[] map[] 127.0.0.1:46896 /api/devices/v1/deployments/device/deployments/next 0xc0000206c0}" +time="2023-07-27T20:16:04Z" level=error msg="bad token, got Bearer foo expected bar" +time="2023-07-27T20:16:04Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2023-07-27T20:16:04Z" level=debug msg="Tenant token: " +time="2023-07-27T20:16:04Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA0U+OfgA5jHpK7LQoD/rF\nt77u5mOUeQdB5lPOYPglV4ITnytmhUmNARoRR+7oUtIajRK46wrankDvxbe/86qh\n78/tGwiBLmWDDI21CED6FJ7jfxnPH4pUy6OUdyoH9j6mq62mzw/ciL5lahsJyJ+S\nJUyVoVtnio30SR7qpWqtrlH9BKH739MpXb1KsM0cSSrS9GdCiKaJkBbpSHTQ4UL9\nux0m0VAdaY5TD1Ata1KHu5uS8BoFx6VeXkxii1SmZIy84Jd7YdBuoOxnUD/GPUX7\nfIm+HoUI5gZp1pOWMqQylxJerdEUCcEqFO7o6myH+LCnY0gFQLkrJI+aFfx0jyZq\nHNoZov8b3JNtyn2Y1rQ+KXCW8sJ0rEzFJFonr0DmfFC2UJmJqKyikvGCTAq/k/WW\nqrMxoi9xetAfnfozvdyr2SYhMvs1k50bTq96AneklcOyVsjcJ8xk7IsibNjWI33H\nqwE3qg84XnMxSW4AAYnBcYoReJ/WDP2xPHCFwkmjx+jbAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:16:04Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:37773" +time="2023-07-27T20:16:04Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[PS0dQHYZvw6/G7B9XPh+A8zBXUTEjsLxrZaJUVHJyvsFWM0/po8ePSbax2cR/8ZjfeIrjtmTKTArCOOtHTvpBqNgfpT9+XgnB5n2XL8DFxAP+vBQnTE7/nFavlzx33KnD9k7jcav8LIPdBCg7eA+28sibFE7sVGTmU0wEkkB84G8aJ4ia8Wej2Qd5ozQ//kpw+ctctFTLfx/fHACfmZnR3GwbdshwtRAU63Wat96HIE7EDvDqTsknuTEaggbVdgW2wnJC+RBpNodbg1YwESc84VxXg15R6y7LMCElAMXNEiPBAmlmFVsxBMqziBew0tIr5xjy0tVW9+qnKL0EwO2L/jDrlaLHiUYTptNv+mxyPa19Ni8psGftXZsfHxJSxvWYcLn62zuuV0YTEzpKzh5tgE2iGzkdwH49dhA+O4y8cWbdBl5VWTHO9DwxDpZVT4f/klWwAxRXUODdi10hplza8h76LhrVjUQct6TJexmEN0owIJLgImeeoLO5ToXGrDQ]] 0xc000020980 701 [] false 127.0.0.1:37773 map[] map[] map[] 127.0.0.1:46896 /api/devices/v1/authentication/auth_requests 0xc0000209c0}" +time="2023-07-27T20:16:04Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:16:04 GMT]] 0xc00000f100 3 [] false false map[] 0xc0000d2700 }" +time="2023-07-27T20:16:04Z" level=debug msg="Receive response data" +time="2023-07-27T20:16:04Z" level=debug msg="Received response data: [98 97 114]" +time="2023-07-27T20:16:04Z" 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]] 0xc000020c00 52 [] false 127.0.0.1:37773 map[] map[] map[] 127.0.0.1:46896 /api/devices/v1/deployments/device/deployments/next 0xc000020c40}" +time="2023-07-27T20:16:04Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2023-07-27T20:16:04Z" 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:37773 map[] map[] map[] 127.0.0.1:46898 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc00012ae40}" +time="2023-07-27T20:16:04Z" 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:37773 map[] map[] map[] 127.0.0.1:46898 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc00012ae40}" +time="2023-07-27T20:16:04Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2023-07-27T20:16:04Z" level=debug msg="Received response:204 No Content" +time="2023-07-27T20:16:04Z" level=debug msg="No update available" +time="2023-07-27T20:16:04Z" level=debug msg="no updates available" +time="2023-07-27T20:16:04Z" level=debug msg="Returning artifact name from artifact_info file." +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2023-07-27T20:16:04Z" level=debug msg="artifact_name=mender-image" +time="2023-07-27T20:16:04Z" level=debug msg="Current manifest data: mender-image" +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: device_type" +time="2023-07-27T20:16:04Z" level=debug msg="device_type=dev" +time="2023-07-27T20:16:04Z" level=debug msg="Current manifest data: dev" +time="2023-07-27T20:16:04Z" 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]] 0xc00012b200 52 [] false 127.0.0.1:37773 map[] map[] map[] 127.0.0.1:46898 /api/devices/v1/deployments/device/deployments/next 0xc00012b240}" +time="2023-07-27T20:16:04Z" level=error msg="bad token, got Bearer bar expected foo" +time="2023-07-27T20:16:04Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2023-07-27T20:16:04Z" level=debug msg="Tenant token: " +time="2023-07-27T20:16:04Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA0U+OfgA5jHpK7LQoD/rF\nt77u5mOUeQdB5lPOYPglV4ITnytmhUmNARoRR+7oUtIajRK46wrankDvxbe/86qh\n78/tGwiBLmWDDI21CED6FJ7jfxnPH4pUy6OUdyoH9j6mq62mzw/ciL5lahsJyJ+S\nJUyVoVtnio30SR7qpWqtrlH9BKH739MpXb1KsM0cSSrS9GdCiKaJkBbpSHTQ4UL9\nux0m0VAdaY5TD1Ata1KHu5uS8BoFx6VeXkxii1SmZIy84Jd7YdBuoOxnUD/GPUX7\nfIm+HoUI5gZp1pOWMqQylxJerdEUCcEqFO7o6myH+LCnY0gFQLkrJI+aFfx0jyZq\nHNoZov8b3JNtyn2Y1rQ+KXCW8sJ0rEzFJFonr0DmfFC2UJmJqKyikvGCTAq/k/WW\nqrMxoi9xetAfnfozvdyr2SYhMvs1k50bTq96AneklcOyVsjcJ8xk7IsibNjWI33H\nqwE3qg84XnMxSW4AAYnBcYoReJ/WDP2xPHCFwkmjx+jbAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:16:04Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:37773" +time="2023-07-27T20:16:04Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[PS0dQHYZvw6/G7B9XPh+A8zBXUTEjsLxrZaJUVHJyvsFWM0/po8ePSbax2cR/8ZjfeIrjtmTKTArCOOtHTvpBqNgfpT9+XgnB5n2XL8DFxAP+vBQnTE7/nFavlzx33KnD9k7jcav8LIPdBCg7eA+28sibFE7sVGTmU0wEkkB84G8aJ4ia8Wej2Qd5ozQ//kpw+ctctFTLfx/fHACfmZnR3GwbdshwtRAU63Wat96HIE7EDvDqTsknuTEaggbVdgW2wnJC+RBpNodbg1YwESc84VxXg15R6y7LMCElAMXNEiPBAmlmFVsxBMqziBew0tIr5xjy0tVW9+qnKL0EwO2L/jDrlaLHiUYTptNv+mxyPa19Ni8psGftXZsfHxJSxvWYcLn62zuuV0YTEzpKzh5tgE2iGzkdwH49dhA+O4y8cWbdBl5VWTHO9DwxDpZVT4f/klWwAxRXUODdi10hplza8h76LhrVjUQct6TJexmEN0owIJLgImeeoLO5ToXGrDQ]] 0xc00012b4c0 701 [] false 127.0.0.1:37773 map[] map[] map[] 127.0.0.1:46898 /api/devices/v1/authentication/auth_requests 0xc00012b500}" +time="2023-07-27T20:16:04Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:16:04 GMT]] 0xc0002013e0 3 [] false false map[] 0xc00029ac00 }" +time="2023-07-27T20:16:04Z" level=debug msg="Receive response data" +time="2023-07-27T20:16:04Z" level=debug msg="Received response data: [102 111 111]" +time="2023-07-27T20:16:04Z" 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]] 0xc00012b740 52 [] false 127.0.0.1:37773 map[] map[] map[] 127.0.0.1:46898 /api/devices/v1/deployments/device/deployments/next 0xc00012b7c0}" +time="2023-07-27T20:16:04Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2023-07-27T20:16:04Z" 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:37773 map[] map[] map[] 127.0.0.1:46904 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc000020ec0}" +time="2023-07-27T20:16:04Z" 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:37773 map[] map[] map[] 127.0.0.1:46904 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc000020ec0}" +time="2023-07-27T20:16:04Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2023-07-27T20:16:04Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2023-07-27T20:16:04Z" level=debug msg="Tenant token: " +time="2023-07-27T20:16:04Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA0U+OfgA5jHpK7LQoD/rF\nt77u5mOUeQdB5lPOYPglV4ITnytmhUmNARoRR+7oUtIajRK46wrankDvxbe/86qh\n78/tGwiBLmWDDI21CED6FJ7jfxnPH4pUy6OUdyoH9j6mq62mzw/ciL5lahsJyJ+S\nJUyVoVtnio30SR7qpWqtrlH9BKH739MpXb1KsM0cSSrS9GdCiKaJkBbpSHTQ4UL9\nux0m0VAdaY5TD1Ata1KHu5uS8BoFx6VeXkxii1SmZIy84Jd7YdBuoOxnUD/GPUX7\nfIm+HoUI5gZp1pOWMqQylxJerdEUCcEqFO7o6myH+LCnY0gFQLkrJI+aFfx0jyZq\nHNoZov8b3JNtyn2Y1rQ+KXCW8sJ0rEzFJFonr0DmfFC2UJmJqKyikvGCTAq/k/WW\nqrMxoi9xetAfnfozvdyr2SYhMvs1k50bTq96AneklcOyVsjcJ8xk7IsibNjWI33H\nqwE3qg84XnMxSW4AAYnBcYoReJ/WDP2xPHCFwkmjx+jbAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:16:04Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:37773" +time="2023-07-27T20:16:04Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[PS0dQHYZvw6/G7B9XPh+A8zBXUTEjsLxrZaJUVHJyvsFWM0/po8ePSbax2cR/8ZjfeIrjtmTKTArCOOtHTvpBqNgfpT9+XgnB5n2XL8DFxAP+vBQnTE7/nFavlzx33KnD9k7jcav8LIPdBCg7eA+28sibFE7sVGTmU0wEkkB84G8aJ4ia8Wej2Qd5ozQ//kpw+ctctFTLfx/fHACfmZnR3GwbdshwtRAU63Wat96HIE7EDvDqTsknuTEaggbVdgW2wnJC+RBpNodbg1YwESc84VxXg15R6y7LMCElAMXNEiPBAmlmFVsxBMqziBew0tIr5xjy0tVW9+qnKL0EwO2L/jDrlaLHiUYTptNv+mxyPa19Ni8psGftXZsfHxJSxvWYcLn62zuuV0YTEzpKzh5tgE2iGzkdwH49dhA+O4y8cWbdBl5VWTHO9DwxDpZVT4f/klWwAxRXUODdi10hplza8h76LhrVjUQct6TJexmEN0owIJLgImeeoLO5ToXGrDQ]] 0xc0005a8980 701 [] false 127.0.0.1:37773 map[] map[] map[] 127.0.0.1:46904 /api/devices/v1/authentication/auth_requests 0xc0005a89c0}" +time="2023-07-27T20:16:04Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:16:04 GMT]] 0xc000446ba0 3 [] false false map[] 0xc00007cc00 }" +time="2023-07-27T20:16:04Z" level=debug msg="Receive response data" +time="2023-07-27T20:16:04Z" level=debug msg="Received response data: [102 111 111]" +time="2023-07-27T20:16:04Z" 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:37773 map[] map[] map[] 127.0.0.1:46904 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0005a8c40}" +time="2023-07-27T20:16:04Z" 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:37773 map[] map[] map[] 127.0.0.1:46904 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0005a8c40}" +time="2023-07-27T20:16:04Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2023-07-27T20:16:04Z" level=debug msg="Received response:401 Unauthorized" +time="2023-07-27T20:16:04Z" level=warning msg="Client not authorized to get update schedule." +time="2023-07-27T20:16:04Z" 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.15s) === RUN TestFailoverServers -time="2023-07-27T20:07:21Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:07:21Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:21Z" level=debug msg="Needs keys" -time="2023-07-27T20:07:21Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2023-07-27T20:07:22Z" level=debug msg="Tenant token: " -time="2023-07-27T20:07:22Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAzd8TRQkvY/jJccaej8p4\nL48AK9Ahxaj0pbuOswSzWhYTusq2ejI0eyODyIDZK+LflEA7Zxs1RAAVp9eDAOO8\n2emc/K30RInPpCSM0oldyYFK1sKSv/hFYCl3w9pxlTYD2/j0GnuKuA9wAQlbmi2J\nH2FFbMCzZP3MS29I2lhzDbFvKqtma9HK/qTBEQ3ICcKPvrFTFuGk/AOW+7x7py20\nUo/KODGSjyR7OauXtb34OUczuFGjXVKyytP6dMUu2y60wVNQ6TcYzTZPQrpbmuEV\nTOTLLejI2kisFqr5cUrc0uL+ZSili38Pr6dOD045wmQy6Qr9qZ2HfaUil6SkTb6J\njuTc/P+RdAHBkQXOabFul5j8ZC0ClCALZQZ1MixXkDqWDxEd5e1rGZA2nkyjTNPG\nEJk5a+1zqfqmbXpDTR89LKvRgpNY9gsnGK76trikzho+fH0NQ6DVfB/zqhrq4wud\neXl6xHJAxJtG/6aKf0YELDz2K0/I67tuLGaNKKlo+EptAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:07:22Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:34403" -time="2023-07-27T20:07:22Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[iOIZPnhkgTlGYfqPKXxOTnj4KBep/QbQ8BhqgrJl+LasDdXhSOGdzezQd661zJGoCZ9AMV+jNsdTNyGoiWzZ840ubYgcA4qMkitnc964KlMuy0BP2Z4oLxiUC/pr01ZgojKQ/yoVzovtYZ3kmj8FRw9Ins87XUzMyQ3Xdt/JlrvT4dH5PgzcnCr4+x75m7aQ+74i8KExtpsyyQYj8zs61tV7agV28/O1C1WZanp9Har2RTe9OmR5ASdtjoLIOtTWqfmnd/LH4NBfuZxv62+dtu5Mn/dQO0ISZrKWxwJA2B6qHN1bludxLBiaEPN4h3AJXmNmC/atFWprocABVMkeHmNbeU75QcqIsQE5wfbuvj43g+c8v3MjrHVxsFQbOWhf82Xk3WXjgR/FR5cQs3v+ZVmhhb5lmq/doe5tS0/AJ9h4I0KWF0KZDTW66K0UCvELIWtSQLg3ffNZRM+0KJq6yblVs2zsMHPOYXKTxIgfBRXeGr+yAkrFG+Huk2TDOxVa]] 0xc00046a080 701 [] false 127.0.0.1:34403 map[] map[] map[] 127.0.0.1:36552 /api/devices/v1/authentication/auth_requests 0xc00046a0c0}" -time="2023-07-27T20:07:22Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:22 GMT]] 0xc0004a2bc0 0 [] false false map[] 0xc00034ad00 }" -time="2023-07-27T20:07:22Z" level=warning msg="Failed to authorize \"http://127.0.0.1:34403\"; attempting \"http://127.0.0.1:40955\"." -time="2023-07-27T20:07:22Z" level=debug msg="Tenant token: " -time="2023-07-27T20:07:22Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAzd8TRQkvY/jJccaej8p4\nL48AK9Ahxaj0pbuOswSzWhYTusq2ejI0eyODyIDZK+LflEA7Zxs1RAAVp9eDAOO8\n2emc/K30RInPpCSM0oldyYFK1sKSv/hFYCl3w9pxlTYD2/j0GnuKuA9wAQlbmi2J\nH2FFbMCzZP3MS29I2lhzDbFvKqtma9HK/qTBEQ3ICcKPvrFTFuGk/AOW+7x7py20\nUo/KODGSjyR7OauXtb34OUczuFGjXVKyytP6dMUu2y60wVNQ6TcYzTZPQrpbmuEV\nTOTLLejI2kisFqr5cUrc0uL+ZSili38Pr6dOD045wmQy6Qr9qZ2HfaUil6SkTb6J\njuTc/P+RdAHBkQXOabFul5j8ZC0ClCALZQZ1MixXkDqWDxEd5e1rGZA2nkyjTNPG\nEJk5a+1zqfqmbXpDTR89LKvRgpNY9gsnGK76trikzho+fH0NQ6DVfB/zqhrq4wud\neXl6xHJAxJtG/6aKf0YELDz2K0/I67tuLGaNKKlo+EptAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:07:22Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40955" -time="2023-07-27T20:07:22Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[iOIZPnhkgTlGYfqPKXxOTnj4KBep/QbQ8BhqgrJl+LasDdXhSOGdzezQd661zJGoCZ9AMV+jNsdTNyGoiWzZ840ubYgcA4qMkitnc964KlMuy0BP2Z4oLxiUC/pr01ZgojKQ/yoVzovtYZ3kmj8FRw9Ins87XUzMyQ3Xdt/JlrvT4dH5PgzcnCr4+x75m7aQ+74i8KExtpsyyQYj8zs61tV7agV28/O1C1WZanp9Har2RTe9OmR5ASdtjoLIOtTWqfmnd/LH4NBfuZxv62+dtu5Mn/dQO0ISZrKWxwJA2B6qHN1bludxLBiaEPN4h3AJXmNmC/atFWprocABVMkeHmNbeU75QcqIsQE5wfbuvj43g+c8v3MjrHVxsFQbOWhf82Xk3WXjgR/FR5cQs3v+ZVmhhb5lmq/doe5tS0/AJ9h4I0KWF0KZDTW66K0UCvELIWtSQLg3ffNZRM+0KJq6yblVs2zsMHPOYXKTxIgfBRXeGr+yAkrFG+Huk2TDOxVa]] 0xc00046a180 701 [] false 127.0.0.1:40955 map[] map[] map[] 127.0.0.1:54464 /api/devices/v1/authentication/auth_requests 0xc00046a1c0}" -time="2023-07-27T20:07:22Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:07:22 GMT]] 0xc00018a440 3 [] false false map[] 0xc000212400 }" -time="2023-07-27T20:07:22Z" level=debug msg="Receive response data" -time="2023-07-27T20:07:22Z" level=debug msg="Received response data: [106 119 116]" -time="2023-07-27T20:07:22Z" level=info msg="successfully received new authorization data" -time="2023-07-27T20:07:22Z" level=debug msg="Returning artifact name from artifact_info file." -time="2023-07-27T20:07:22Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2023-07-27T20:07:22Z" level=debug msg="artifact_name=mender-image" -time="2023-07-27T20:07:22Z" level=debug msg="Current manifest data: mender-image" -time="2023-07-27T20:07:22Z" level=debug msg="Reading data from the device manifest file: device_type" -time="2023-07-27T20:07:22Z" level=debug msg="device_type=dev" -time="2023-07-27T20:07:22Z" level=debug msg="Current manifest data: dev" -time="2023-07-27T20:07:22Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc00035e3c0 52 [] false 127.0.0.1:34403 map[] map[] map[] 127.0.0.1:36552 /api/devices/v1/deployments/device/deployments/next 0xc00035e400}" -time="2023-07-27T20:07:22Z" level=warning msg="Server \"http://127.0.0.1:34403\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:40955\"" -time="2023-07-27T20:07:22Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc00035e680 52 [] false 127.0.0.1:40955 map[] map[] map[] 127.0.0.1:54474 /api/devices/v1/deployments/device/deployments/next 0xc00035e6c0}" -time="2023-07-27T20:07:22Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2023-07-27T20:07:22Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:34403 map[] map[] map[] 127.0.0.1:36564 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc00035e940}" -time="2023-07-27T20:07:22Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:34403 map[] map[] map[] 127.0.0.1:36564 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc00035e940}" -time="2023-07-27T20:07:22Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -2023/07/27 20:07:22 http: panic serving 127.0.0.1:36564: runtime error: invalid memory address or nil pointer dereference -goroutine 257 [running]: -net/http.(*conn).serve.func1(0xc00038c140) +time="2023-07-27T20:16:04Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:16:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:04Z" level=debug msg="Needs keys" +time="2023-07-27T20:16:04Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2023-07-27T20:16:04Z" level=debug msg="Tenant token: " +time="2023-07-27T20:16:04Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAuQcbH8qIwGfQ9QjxuOkj\nnEeTJDv+yyMCtJUcz6tM3vyTUHOMMxDs3Z0YzwwOG8alyVWzT0JJEIHyX+pNXBST\n9FmEXixAlJ7A2BGHHHXvNKquxs4stRpYhNkLB607LNxzIdDUV0z5QDUZUNwPezx2\nvdQzRBXPO2OIDqiCRriREip3k1z+dePGmADdYz1CR7He3XbdyogLPgfhoTJ9m7hq\nv0UgrVD2ezNS6Ya+qnbZMtrtyjId9x0u1675tpN/+hDg0z2KfJH2gsOrFXiI1ANz\nhF2XNhB+IL58fI1ypaKE/2pTfxq8Ue7G8YuQqoCpgozMdiypw9kaAAekeA6UNswN\nSa8HaUdSU01t22e2Ckik4Z/nGh2TZpHxr0g+zqoryaVGV+nTKRwwR/A9nFo7/dmq\nmzTT9RrKKz2Co84cyW4j1pfQPXYpSovg4aBT2Phi9TZvHe959m6idA2bGucyFCZ5\ngmg35qExkFiM1zOldMIdOMO6g9GRuabmGBPiJa8xZA3ZAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:16:04Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:44449" +time="2023-07-27T20:16:04Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[lvgDryJthrNHBAUjteBl6SElik/X+sLTa+UExVEjAPRYOGB4UrtVncUo842/AT2VgUYzxltH4Ec2KuS9s+PpxWC3Uo1kUcnJtKg78L/KZaPfN6EvDEUqSfr33ROnK9GgRpxSDSZca7NTrq/Z/QMySYUBRIoSBFjClDa3K9QVh+h6tgPOjp/O1RmGs/MBPOnLCkEEY/xjGQrkIlZtcmZ+NlX96PEdqDGyHZcIEPO6b3AfFB6MFGaRwEwl2HDiSsw9R+1SeViwlZE0/52zU/MUlBelZ+ZAPKXOjWZgMqQtPBbqr7Cew1Hmrmr+F+MZxJ1YmQbrlxjXpq/p1H2XYQgKpZxO4e2YS/O2ptuAGdOZd+u8PbyZQbewwFlTmbopi9auxVWj9aRDBBBQR5U401ePxJZLrhhJZnIQ9Djj/RrLmA2nOOS+JV13NhcVqUd9sV0VZrD8580Z4PtE5Q26UDj+1j9BdnRDD4MdqEWqC7VTCbCcOUXTrqR9WCuXWke+7GvA]] 0xc000574100 701 [] false 127.0.0.1:44449 map[] map[] map[] 127.0.0.1:36304 /api/devices/v1/authentication/auth_requests 0xc000574140}" +time="2023-07-27T20:16:04Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:16:04 GMT]] 0xc00000ff00 0 [] false false map[] 0xc0000d3400 }" +time="2023-07-27T20:16:04Z" level=warning msg="Failed to authorize \"http://127.0.0.1:44449\"; attempting \"http://127.0.0.1:40699\"." +time="2023-07-27T20:16:04Z" level=debug msg="Tenant token: " +time="2023-07-27T20:16:04Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAuQcbH8qIwGfQ9QjxuOkj\nnEeTJDv+yyMCtJUcz6tM3vyTUHOMMxDs3Z0YzwwOG8alyVWzT0JJEIHyX+pNXBST\n9FmEXixAlJ7A2BGHHHXvNKquxs4stRpYhNkLB607LNxzIdDUV0z5QDUZUNwPezx2\nvdQzRBXPO2OIDqiCRriREip3k1z+dePGmADdYz1CR7He3XbdyogLPgfhoTJ9m7hq\nv0UgrVD2ezNS6Ya+qnbZMtrtyjId9x0u1675tpN/+hDg0z2KfJH2gsOrFXiI1ANz\nhF2XNhB+IL58fI1ypaKE/2pTfxq8Ue7G8YuQqoCpgozMdiypw9kaAAekeA6UNswN\nSa8HaUdSU01t22e2Ckik4Z/nGh2TZpHxr0g+zqoryaVGV+nTKRwwR/A9nFo7/dmq\nmzTT9RrKKz2Co84cyW4j1pfQPXYpSovg4aBT2Phi9TZvHe959m6idA2bGucyFCZ5\ngmg35qExkFiM1zOldMIdOMO6g9GRuabmGBPiJa8xZA3ZAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:16:04Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40699" +time="2023-07-27T20:16:04Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[lvgDryJthrNHBAUjteBl6SElik/X+sLTa+UExVEjAPRYOGB4UrtVncUo842/AT2VgUYzxltH4Ec2KuS9s+PpxWC3Uo1kUcnJtKg78L/KZaPfN6EvDEUqSfr33ROnK9GgRpxSDSZca7NTrq/Z/QMySYUBRIoSBFjClDa3K9QVh+h6tgPOjp/O1RmGs/MBPOnLCkEEY/xjGQrkIlZtcmZ+NlX96PEdqDGyHZcIEPO6b3AfFB6MFGaRwEwl2HDiSsw9R+1SeViwlZE0/52zU/MUlBelZ+ZAPKXOjWZgMqQtPBbqr7Cew1Hmrmr+F+MZxJ1YmQbrlxjXpq/p1H2XYQgKpZxO4e2YS/O2ptuAGdOZd+u8PbyZQbewwFlTmbopi9auxVWj9aRDBBBQR5U401ePxJZLrhhJZnIQ9Djj/RrLmA2nOOS+JV13NhcVqUd9sV0VZrD8580Z4PtE5Q26UDj+1j9BdnRDD4MdqEWqC7VTCbCcOUXTrqR9WCuXWke+7GvA]] 0xc00012b9c0 701 [] false 127.0.0.1:40699 map[] map[] map[] 127.0.0.1:49280 /api/devices/v1/authentication/auth_requests 0xc00012ba00}" +time="2023-07-27T20:16:04Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Thu, 27 Jul 2023 20:16:04 GMT]] 0xc000201b40 3 [] false false map[] 0xc0000d3700 }" +time="2023-07-27T20:16:04Z" level=debug msg="Receive response data" +time="2023-07-27T20:16:04Z" level=debug msg="Received response data: [106 119 116]" +time="2023-07-27T20:16:04Z" level=info msg="successfully received new authorization data" +time="2023-07-27T20:16:04Z" level=debug msg="Returning artifact name from artifact_info file." +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2023-07-27T20:16:04Z" level=debug msg="artifact_name=mender-image" +time="2023-07-27T20:16:04Z" level=debug msg="Current manifest data: mender-image" +time="2023-07-27T20:16:04Z" level=debug msg="Reading data from the device manifest file: device_type" +time="2023-07-27T20:16:04Z" level=debug msg="device_type=dev" +time="2023-07-27T20:16:04Z" level=debug msg="Current manifest data: dev" +time="2023-07-27T20:16:04Z" 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]] 0xc00012be40 52 [] false 127.0.0.1:44449 map[] map[] map[] 127.0.0.1:36304 /api/devices/v1/deployments/device/deployments/next 0xc00012be80}" +time="2023-07-27T20:16:04Z" level=warning msg="Server \"http://127.0.0.1:44449\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:40699\"" +time="2023-07-27T20:16:04Z" 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]] 0xc000574280 52 [] false 127.0.0.1:40699 map[] map[] map[] 127.0.0.1:49286 /api/devices/v1/deployments/device/deployments/next 0xc0005742c0}" +time="2023-07-27T20:16:04Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2023-07-27T20:16:04Z" 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:44449 map[] map[] map[] 127.0.0.1:36318 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0002cc100}" +time="2023-07-27T20:16:04Z" 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:44449 map[] map[] map[] 127.0.0.1:36318 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0002cc100}" +time="2023-07-27T20:16:04Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +2023/07/27 20:16:04 http: panic serving 127.0.0.1:36318: runtime error: invalid memory address or nil pointer dereference +goroutine 296 [running]: +net/http.(*conn).serve.func1(0xc0002a0500) /usr/lib/go-1.15/src/net/http/server.go:1801 +0x147 panic(0x8cb1c0, 0xc3cf20) /usr/lib/go-1.15/src/runtime/panic.go:975 +0x47a -github.com/mendersoftware/mender/client/test.(*ClientTestServer).updateReq(0xc0001029c0, 0x9f5100, 0xc0000ff5e0, 0xc00034b800) +github.com/mendersoftware/mender/client/test.(*ClientTestServer).updateReq(0xc00012c680, 0x9f5100, 0xc0001a6620, 0xc0000b2500) /build/mender-client-2.4.1/obj-x86_64-linux-gnu/src/github.com/mendersoftware/mender/client/test/server.go:385 +0x37b -net/http.HandlerFunc.ServeHTTP(0xc00018d4d0, 0x9f5100, 0xc0000ff5e0, 0xc00034b800) +net/http.HandlerFunc.ServeHTTP(0xc000429a50, 0x9f5100, 0xc0001a6620, 0xc0000b2500) /usr/lib/go-1.15/src/net/http/server.go:2042 +0x44 -net/http.(*ServeMux).ServeHTTP(0xc0004dbf00, 0x9f5100, 0xc0000ff5e0, 0xc00034b800) +net/http.(*ServeMux).ServeHTTP(0xc000021000, 0x9f5100, 0xc0001a6620, 0xc0000b2500) /usr/lib/go-1.15/src/net/http/server.go:2417 +0x1ad -net/http.serverHandler.ServeHTTP(0xc0000ff260, 0x9f5100, 0xc0000ff5e0, 0xc00034b800) +net/http.serverHandler.ServeHTTP(0xc0001b6a80, 0x9f5100, 0xc0001a6620, 0xc0000b2500) /usr/lib/go-1.15/src/net/http/server.go:2843 +0xa3 -net/http.(*conn).serve(0xc00038c140, 0x9f66c0, 0xc00035e880) +net/http.(*conn).serve(0xc0002a0500, 0x9f66c0, 0xc000574380) /usr/lib/go-1.15/src/net/http/server.go:1925 +0x8ad created by net/http.(*Server).Serve /usr/lib/go-1.15/src/net/http/server.go:2969 +0x36c -time="2023-07-27T20:07:22Z" level=warning msg="Server \"http://127.0.0.1:34403\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:40955\"" -time="2023-07-27T20:07:22Z" level=info msg="got update request &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:40955 map[] map[] map[] 127.0.0.1:54478 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0001a0d80}" -time="2023-07-27T20:07:22Z" level=info msg="Valid update request GET: &{GET /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer jwt] User-Agent:[Go-http-client/1.1]] {} 0 [] false 127.0.0.1:40955 map[] map[] map[] 127.0.0.1:54478 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0001a0d80}" -time="2023-07-27T20:07:22Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2023-07-27T20:07:22Z" level=debug msg="Received response:200 OK" -time="2023-07-27T20:07:22Z" level=debug msg="Have update available" -time="2023-07-27T20:07:22Z" level=info msg="Correct request for getting image from: http://127.0.0.1:40955/download [name: foo; devices: [vexpress]]" -time="2023-07-27T20:07:22Z" level=debug msg="Received update response: {{{http://127.0.0.1:40955/download } [vexpress] [] foo map[]} foo [] 0 false}" ---- PASS: TestFailoverServers (1.33s) +time="2023-07-27T20:16:04Z" level=warning msg="Server \"http://127.0.0.1:44449\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:40699\"" +time="2023-07-27T20:16:04Z" 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:40699 map[] map[] map[] 127.0.0.1:49292 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0002cc2c0}" +time="2023-07-27T20:16:04Z" 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:40699 map[] map[] map[] 127.0.0.1:49292 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0002cc2c0}" +time="2023-07-27T20:16:04Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2023-07-27T20:16:04Z" level=debug msg="Received response:200 OK" +time="2023-07-27T20:16:04Z" level=debug msg="Have update available" +time="2023-07-27T20:16:04Z" level=info msg="Correct request for getting image from: http://127.0.0.1:40699/download [name: foo; devices: [vexpress]]" +time="2023-07-27T20:16:04Z" level=debug msg="Received update response: {{{http://127.0.0.1:40699/download } [vexpress] [] foo map[]} foo [] 0 false}" +--- PASS: TestFailoverServers (0.41s) === RUN TestMutualTLSClientConnection mender_test.go:1115: Error Trace: mender_test.go:1115 @@ -1391,2366 +4024,2358 @@ Test: TestMutualTLSClientConnection --- FAIL: TestMutualTLSClientConnection (0.00s) === RUN Test_doManualUpdate_noParams_fail -time="2023-07-27T20:07:22Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:22Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:22Z" level=info msg="Start updating from local image file: []" -time="2023-07-27T20:07:22Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: : open : no such file or directory\n" +time="2023-07-27T20:16:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:04Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:04Z" level=info msg="Start updating from local image file: []" +time="2023-07-27T20:16:04Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: : open : no such file or directory\n" --- PASS: Test_doManualUpdate_noParams_fail (0.00s) === RUN Test_doManualUpdate_invalidHttpsClientConfig_updateFails -time="2023-07-27T20:07:22Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:22Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:22Z" level=info msg="Performing remote update from: [https://update]." -time="2023-07-27T20:07:23Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (non-existing). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2023-07-27T20:07:23Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" -time="2023-07-27T20:07:23Z" level=debug msg="Client initialized. Start downloading image." -time="2023-07-27T20:07:23Z" level=error msg="Can not fetch update image: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:36175->[::1]:53: read: connection refused" -time="2023-07-27T20:07:23Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:36175->[::1]:53: read: connection refused]" ---- PASS: Test_doManualUpdate_invalidHttpsClientConfig_updateFails (0.32s) +time="2023-07-27T20:16:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:04Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:04Z" level=info msg="Performing remote update from: [https://update]." +time="2023-07-27T20:16:04Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (non-existing). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2023-07-27T20:16: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" +time="2023-07-27T20:16:04Z" level=debug msg="Client initialized. Start downloading image." +time="2023-07-27T20:16:04Z" level=error msg="Can not fetch update image: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:41442->[::1]:53: read: connection refused" +time="2023-07-27T20:16:04Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:41442->[::1]:53: read: connection refused]" +--- PASS: Test_doManualUpdate_invalidHttpsClientConfig_updateFails (0.09s) === RUN Test_doManualUpdate_nonExistingFile_fail -time="2023-07-27T20:07:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [non-existing]" -time="2023-07-27T20:07:23Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: non-existing: open non-existing: no such file or directory\n" +time="2023-07-27T20:16:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:04Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:04Z" level=info msg="Start updating from local image file: [non-existing]" +time="2023-07-27T20:16:04Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: non-existing: open non-existing: no such file or directory\n" --- PASS: Test_doManualUpdate_nonExistingFile_fail (0.00s) === RUN Test_doManualUpdate_networkUpdateNoClient_fail -time="2023-07-27T20:07:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:23Z" level=info msg="Performing remote update from: [http://non-existing]." -time="2023-07-27T20:07:23Z" level=debug msg="Client initialized. Start downloading image." -time="2023-07-27T20:07:23Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:45597->[::1]:53: read: connection refused" -time="2023-07-27T20:07:23Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:45597->[::1]:53: read: connection refused]" +time="2023-07-27T20:16:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:04Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:04Z" level=info msg="Performing remote update from: [http://non-existing]." +time="2023-07-27T20:16:04Z" level=debug msg="Client initialized. Start downloading image." +time="2023-07-27T20:16:04Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:44463->[::1]:53: read: connection refused" +time="2023-07-27T20:16:04Z" 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]:44463->[::1]:53: read: connection refused]" --- PASS: Test_doManualUpdate_networkUpdateNoClient_fail (0.00s) === RUN Test_doManualUpdate_networkClientExistsNoServer_fail -time="2023-07-27T20:07:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:23Z" level=info msg="Performing remote update from: [http://non-existing]." -time="2023-07-27T20:07:23Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2023-07-27T20:07:23Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" -time="2023-07-27T20:07:23Z" level=debug msg="Client initialized. Start downloading image." -time="2023-07-27T20:07:23Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:49589->[::1]:53: read: connection refused" -time="2023-07-27T20:07:23Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:49589->[::1]:53: read: connection refused]" ---- PASS: Test_doManualUpdate_networkClientExistsNoServer_fail (0.31s) +time="2023-07-27T20:16:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:04Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:04Z" level=info msg="Performing remote update from: [http://non-existing]." +time="2023-07-27T20:16: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="2023-07-27T20:16: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="2023-07-27T20:16:05Z" level=debug msg="Client initialized. Start downloading image." +time="2023-07-27T20:16:05Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:49221->[::1]:53: read: connection refused" +time="2023-07-27T20:16:05Z" 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]:49221->[::1]:53: read: connection refused]" +--- PASS: Test_doManualUpdate_networkClientExistsNoServer_fail (0.09s) === RUN Test_doManualUpdate_existingFile_updateSuccess -time="2023-07-27T20:07:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [/tmp/update817652094]" -time="2023-07-27T20:07:23Z" level=debug msg="Fetching update from file results: [&{0xc00033c000}], 5120, " +time="2023-07-27T20:16:05Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/update385289847]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc00033e360}], 5120, " Installing Artifact of size 5120... -time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/236662967" -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:23Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2023-07-27T20:07:23Z" level=debug msg="Checking if device [] is on compatible device list: [vexpress-qemu]\n" -time="2023-07-27T20:07:23Z" level=error msg="Unknown device_type. Continuing with update" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/705249284" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [] is on compatible device list: [vexpress-qemu]\n" +time="2023-07-27T20:16:05Z" level=error msg="Unknown device_type. Continuing with update" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" . 100% 5 KiB -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. ---- PASS: Test_doManualUpdate_existingFile_updateSuccess (0.09s) +--- PASS: Test_doManualUpdate_existingFile_updateSuccess (0.01s) === RUN TestDoManualUpdateArtifactV3Dependencies -time="2023-07-27T20:07:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [/tmp/update011910371]" -time="2023-07-27T20:07:23Z" level=debug msg="Fetching update from file results: [&{0xc00033c6c0}], 5120, " +time="2023-07-27T20:16:05Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/update702149664]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc00033e2a0}], 5120, " Installing Artifact of size 5120... -time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/534020448" -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:23Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2023-07-27T20:07:23Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2023-07-27T20:07:23Z" level=error msg="Unknown device_type. Continuing with update" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" -time="2023-07-27T20:07:23Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OldArtifact] != )." -time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [/tmp/update011910371]" -time="2023-07-27T20:07:23Z" level=debug msg="Fetching update from file results: [&{0xc0004ec4e0}], 5120, " +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/449049537" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2023-07-27T20:16:05Z" level=error msg="Unknown device_type. Continuing with update" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2023-07-27T20:16:05Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/update702149664]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc00033e4e0}], 5120, " Installing Artifact of size 5120... -time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/534020448" -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:23Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2023-07-27T20:07:23Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2023-07-27T20:07:23Z" level=error msg="Unknown device_type. Continuing with update" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" -time="2023-07-27T20:07:23Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." -time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [/tmp/update011910371]" -time="2023-07-27T20:07:23Z" level=debug msg="Fetching update from file results: [&{0xc0004ecb40}], 5120, " +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/449049537" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2023-07-27T20:16:05Z" level=error msg="Unknown device_type. Continuing with update" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2023-07-27T20:16:05Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/update702149664]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc00033e960}], 5120, " Installing Artifact of size 5120... -time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/534020448" -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:23Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2023-07-27T20:07:23Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2023-07-27T20:07:23Z" level=error msg="Unknown device_type. Continuing with update" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" -time="2023-07-27T20:07:23Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." -time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [/tmp/update011910371]" -time="2023-07-27T20:07:23Z" level=debug msg="Fetching update from file results: [&{0xc0004ed020}], 5120, " +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/449049537" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2023-07-27T20:16:05Z" level=error msg="Unknown device_type. Continuing with update" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2023-07-27T20:16:05Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/update702149664]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc00033ef60}], 5120, " Installing Artifact of size 5120... -time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/534020448" -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:23Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2023-07-27T20:07:23Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2023-07-27T20:07:23Z" level=error msg="Unknown device_type. Continuing with update" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/449049537" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2023-07-27T20:16:05Z" level=error msg="Unknown device_type. Continuing with update" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" . 100% 5 KiB -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. ---- PASS: TestDoManualUpdateArtifactV3Dependencies (0.09s) +--- PASS: TestDoManualUpdateArtifactV3Dependencies (0.02s) === RUN TestStandaloneModuleInstall === RUN TestStandaloneModuleInstall/Normal_install,_no_rollback -time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall827723021/artifact.mender]" -time="2023-07-27T20:07:23Z" level=debug msg="Fetching update from file results: [&{0xc0003061e0}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall897554514/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc00065e180}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall827723021/device_type" -time="2023-07-27T20:07:23Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:23Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:23Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:23Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:23Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall827723021/artifact_info file." -time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall827723021/artifact_info" -time="2023-07-27T20:07:23Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:23Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall827723021/artifact_info" -time="2023-07-27T20:07:23Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall827723021/device_type" -time="2023-07-27T20:07:23Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:23Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:23Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:23Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall827723021/modules/test-type Download /tmp/TestStandaloneModuleInstall827723021/work/payloads/0000/tree" -time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall897554514/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall897554514/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall897554514/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall897554514/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall897554514/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall897554514/modules/test-type Download /tmp/TestStandaloneModuleInstall897554514/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:23Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall827723021/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall827723021/work/payloads/0000/tree" -time="2023-07-27T20:07:23Z" level=debug msg="Update module output: No" -time="2023-07-27T20:07:23Z" level=debug msg="Module does not support rollback" -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:23Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall827723021/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall827723021/work/payloads/0000/tree" -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2023-07-27T20:07:23Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall827723021/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall827723021/work/payloads/0000/tree" -time="2023-07-27T20:07:23Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:23Z" level=debug msg="Module needs custom reboot" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall897554514/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall897554514/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: No" +time="2023-07-27T20:16:05Z" level=debug msg="Module does not support rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall897554514/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall897554514/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall897554514/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall897554514/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:23Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2023-07-27T20:07:23Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall827723021/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall827723021/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall827723021/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall827723021/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall897554514/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall897554514/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall897554514/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall897554514/work/payloads/0000/tree" At least one payload requested a reboot of the device it updated. -time="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name artifact-name from database." +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_install -time="2023-07-27T20:07:24Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:24Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall625296762/artifact.mender]" -time="2023-07-27T20:07:24Z" level=debug msg="Fetching update from file results: [&{0xc000228120}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall475854499/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc0002d4240}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall625296762/device_type" -time="2023-07-27T20:07:24Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:24Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall625296762/artifact_info file." -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall625296762/artifact_info" -time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall625296762/artifact_info" -time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall625296762/device_type" -time="2023-07-27T20:07:24Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall625296762/modules/test-type Download /tmp/TestStandaloneModuleInstall625296762/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall475854499/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall475854499/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall475854499/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall475854499/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall475854499/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall475854499/modules/test-type Download /tmp/TestStandaloneModuleInstall475854499/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall625296762/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall625296762/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:24Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall625296762/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall625296762/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall625296762/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall625296762/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:24Z" level=debug msg="Module needs custom reboot" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall475854499/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall475854499/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall475854499/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall475854499/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall475854499/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall475854499/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall625296762/artifact_info file." -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall625296762/artifact_info" -time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall475854499/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall475854499/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Normal_commit -time="2023-07-27T20:07:24Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:24Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall922162923/artifact.mender]" -time="2023-07-27T20:07:24Z" level=debug msg="Fetching update from file results: [&{0xc00033c240}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall070616008/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc0001d2060}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall922162923/device_type" -time="2023-07-27T20:07:24Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:24Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall922162923/artifact_info file." -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall922162923/artifact_info" -time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall922162923/artifact_info" -time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall922162923/device_type" -time="2023-07-27T20:07:24Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall922162923/modules/test-type Download /tmp/TestStandaloneModuleInstall922162923/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall070616008/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall070616008/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall070616008/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall070616008/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall070616008/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070616008/modules/test-type Download /tmp/TestStandaloneModuleInstall070616008/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall922162923/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall922162923/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:24Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall922162923/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall922162923/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall922162923/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall922162923/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:24Z" level=debug msg="Module needs custom reboot" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070616008/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall070616008/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070616008/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall070616008/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070616008/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall070616008/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall922162923/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall922162923/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall922162923/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall922162923/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name artifact-name from database." +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070616008/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall070616008/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall070616008/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall070616008/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_rollback -time="2023-07-27T20:07:24Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:24Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall219538864/artifact.mender]" -time="2023-07-27T20:07:24Z" level=debug msg="Fetching update from file results: [&{0xc0004ec2a0}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall903715921/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc0002d42a0}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall219538864/device_type" -time="2023-07-27T20:07:24Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:24Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall219538864/artifact_info file." -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall219538864/artifact_info" -time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall219538864/artifact_info" -time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall219538864/device_type" -time="2023-07-27T20:07:24Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type Download /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall903715921/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall903715921/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall903715921/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall903715921/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall903715921/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall903715921/modules/test-type Download /tmp/TestStandaloneModuleInstall903715921/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:24Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:24Z" level=debug msg="Module needs custom reboot" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall903715921/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall903715921/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall903715921/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall903715921/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall903715921/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall903715921/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:24Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall903715921/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall903715921/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" -time="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall219538864/artifact_info file." -time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall219538864/artifact_info" -time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall903715921/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall903715921/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall903715921/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall903715921/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall903715921/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall903715921/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Enter_00 -time="2023-07-27T20:07:25Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:25Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall973603929/artifact.mender]" -time="2023-07-27T20:07:25Z" level=debug msg="Fetching update from file results: [&{0xc0003906c0}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall945387022/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc0018d4240}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall973603929/device_type" -time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:25Z" level=error msg="Download_Enter script failed: statescript: error executing 'Download_Enter_00': 1 : exit status 1" -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall973603929/artifact_info file." -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall973603929/artifact_info" -time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall945387022/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=error msg="Download_Enter script failed: statescript: error executing 'Download_Enter_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall945387022/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall945387022/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download -time="2023-07-27T20:07:25Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:25Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall409256118/artifact.mender]" -time="2023-07-27T20:07:25Z" level=debug msg="Fetching update from file results: [&{0xc00041c180}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall943666959/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc0002d41e0}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall409256118/device_type" -time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:25Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall409256118/artifact_info file." -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall409256118/artifact_info" -time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall409256118/artifact_info" -time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall409256118/device_type" -time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall409256118/modules/test-type Download /tmp/TestStandaloneModuleInstall409256118/work/payloads/0000/tree" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" -time="2023-07-27T20:07:25Z" level=error msg="Download failed: Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall409256118/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall409256118/work/payloads/0000/tree" -time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall409256118/artifact_info file." -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall409256118/artifact_info" -time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall943666959/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall943666959/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall943666959/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall943666959/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall943666959/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall943666959/modules/test-type Download /tmp/TestStandaloneModuleInstall943666959/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=error msg="Download failed: Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall943666959/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall943666959/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall943666959/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall943666959/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Leave_00 -time="2023-07-27T20:07:25Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:25Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall832846551/artifact.mender]" -time="2023-07-27T20:07:25Z" level=debug msg="Fetching update from file results: [&{0xc000306360}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall835135652/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc0001d2180}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall832846551/device_type" -time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:25Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall832846551/artifact_info file." -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall832846551/artifact_info" -time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall832846551/artifact_info" -time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall832846551/device_type" -time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall832846551/modules/test-type Download /tmp/TestStandaloneModuleInstall832846551/work/payloads/0000/tree" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall835135652/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall835135652/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall835135652/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall835135652/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall835135652/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall835135652/modules/test-type Download /tmp/TestStandaloneModuleInstall835135652/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:25Z" level=error msg="Download_Leave script failed: statescript: error executing 'Download_Leave_00': 1 : exit status 1" -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall832846551/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall832846551/work/payloads/0000/tree" -time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall832846551/artifact_info file." -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall832846551/artifact_info" -time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=error msg="Download_Leave script failed: statescript: error executing 'Download_Leave_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall835135652/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall835135652/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall835135652/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall835135652/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 -time="2023-07-27T20:07:25Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:25Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall398470156/artifact.mender]" -time="2023-07-27T20:07:25Z" level=debug msg="Fetching update from file results: [&{0xc000306240}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall077464157/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc000438180}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398470156/device_type" -time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:25Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall398470156/artifact_info file." -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398470156/artifact_info" -time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398470156/artifact_info" -time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398470156/device_type" -time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398470156/modules/test-type Download /tmp/TestStandaloneModuleInstall398470156/work/payloads/0000/tree" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077464157/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall077464157/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077464157/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077464157/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077464157/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077464157/modules/test-type Download /tmp/TestStandaloneModuleInstall077464157/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398470156/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall398470156/work/payloads/0000/tree" -time="2023-07-27T20:07:25Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:25Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:25Z" level=error msg="ArtifactInstall_Enter script failed: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398470156/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall398470156/work/payloads/0000/tree" -time="2023-07-27T20:07:25Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:25Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077464157/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall077464157/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=error msg="ArtifactInstall_Enter script failed: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077464157/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall077464157/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398470156/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall398470156/work/payloads/0000/tree" -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398470156/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall398470156/work/payloads/0000/tree" -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398470156/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall398470156/work/payloads/0000/tree" -time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall398470156/artifact_info file." -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398470156/artifact_info" -time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077464157/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall077464157/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077464157/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall077464157/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077464157/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall077464157/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall077464157/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077464157/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall -time="2023-07-27T20:07:25Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:25Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall546087397/artifact.mender]" -time="2023-07-27T20:07:25Z" level=debug msg="Fetching update from file results: [&{0xc000100e40}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall229930762/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc00033e360}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall546087397/device_type" -time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:25Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall546087397/artifact_info file." -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall546087397/artifact_info" -time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall546087397/artifact_info" -time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall546087397/device_type" -time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type Download /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" -time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall229930762/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall229930762/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall229930762/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall229930762/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall229930762/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall229930762/modules/test-type Download /tmp/TestStandaloneModuleInstall229930762/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" -time="2023-07-27T20:07:26Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:26Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" -time="2023-07-27T20:07:26Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:26Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:26Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" -time="2023-07-27T20:07:26Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:26Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall229930762/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall229930762/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall229930762/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall229930762/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall229930762/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall229930762/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:26Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2023-07-27T20:07:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" -time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:26Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:26Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" -time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:26Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" -time="2023-07-27T20:07:26Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall546087397/artifact_info file." -time="2023-07-27T20:07:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall546087397/artifact_info" -time="2023-07-27T20:07:26Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:26Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall229930762/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall229930762/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall229930762/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall229930762/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall229930762/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall229930762/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall229930762/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall229930762/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 -time="2023-07-27T20:07:26Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:26Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall772322098/artifact.mender]" -time="2023-07-27T20:07:26Z" level=debug msg="Fetching update from file results: [&{0xc0004ec5a0}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall149360059/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc0001d2420}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall772322098/device_type" -time="2023-07-27T20:07:26Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:26Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:26Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:26Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:26Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:26Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall772322098/artifact_info file." -time="2023-07-27T20:07:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall772322098/artifact_info" -time="2023-07-27T20:07:26Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:26Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall772322098/artifact_info" -time="2023-07-27T20:07:26Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall772322098/device_type" -time="2023-07-27T20:07:26Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:26Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type Download /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall149360059/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall149360059/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall149360059/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall149360059/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall149360059/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall149360059/modules/test-type Download /tmp/TestStandaloneModuleInstall149360059/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:27Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:27Z" level=error msg="ArtifactInstall_Leave script failed: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:27Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall149360059/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall149360059/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall149360059/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall149360059/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=error msg="ArtifactInstall_Leave script failed: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall149360059/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall149360059/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall772322098/artifact_info file." -time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall772322098/artifact_info" -time="2023-07-27T20:07:27Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall149360059/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall149360059/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall149360059/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall149360059/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall149360059/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall149360059/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall149360059/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall149360059/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 -time="2023-07-27T20:07:27Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:27Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall910556419/artifact.mender]" -time="2023-07-27T20:07:27Z" level=debug msg="Fetching update from file results: [&{0xc00054c1e0}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall571640512/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc0018d4240}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall910556419/device_type" -time="2023-07-27T20:07:27Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:27Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:27Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall910556419/artifact_info file." -time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall910556419/artifact_info" -time="2023-07-27T20:07:27Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall910556419/artifact_info" -time="2023-07-27T20:07:27Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall910556419/device_type" -time="2023-07-27T20:07:27Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type Download /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall571640512/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall571640512/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall571640512/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall571640512/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall571640512/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall571640512/modules/test-type Download /tmp/TestStandaloneModuleInstall571640512/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:27Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:27Z" level=debug msg="Module needs custom reboot" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall571640512/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall571640512/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall571640512/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall571640512/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall571640512/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall571640512/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:27Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:27Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall571640512/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall571640512/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall910556419/artifact_info file." -time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall910556419/artifact_info" -time="2023-07-27T20:07:27Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall571640512/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall571640512/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall571640512/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall571640512/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall571640512/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall571640512/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall571640512/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall571640512/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit -time="2023-07-27T20:07:27Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:27Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall547242920/artifact.mender]" -time="2023-07-27T20:07:27Z" level=debug msg="Fetching update from file results: [&{0xc0000fe120}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall818100393/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc0018d4300}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall547242920/device_type" -time="2023-07-27T20:07:27Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:27Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:27Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall547242920/artifact_info file." -time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall547242920/artifact_info" -time="2023-07-27T20:07:27Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall547242920/artifact_info" -time="2023-07-27T20:07:27Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall547242920/device_type" -time="2023-07-27T20:07:27Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type Download /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall818100393/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall818100393/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall818100393/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall818100393/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall818100393/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall818100393/modules/test-type Download /tmp/TestStandaloneModuleInstall818100393/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" -time="2023-07-27T20:07:27Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:27Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:28Z" level=debug msg="Module needs custom reboot" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall818100393/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall818100393/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall818100393/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall818100393/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall818100393/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall818100393/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:28Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:28Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall818100393/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall818100393/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall818100393/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall818100393/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall547242920/artifact_info file." -time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall547242920/artifact_info" -time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall818100393/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall818100393/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall818100393/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall818100393/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall818100393/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall818100393/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall818100393/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall818100393/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 -time="2023-07-27T20:07:28Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:28Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall987213745/artifact.mender]" -time="2023-07-27T20:07:28Z" level=debug msg="Fetching update from file results: [&{0xc00033c240}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall194967366/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc0001d2480}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987213745/device_type" -time="2023-07-27T20:07:28Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:28Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:28Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall987213745/artifact_info file." -time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987213745/artifact_info" -time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987213745/artifact_info" -time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987213745/device_type" -time="2023-07-27T20:07:28Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987213745/modules/test-type Download /tmp/TestStandaloneModuleInstall987213745/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall194967366/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall194967366/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall194967366/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall194967366/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall194967366/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall194967366/modules/test-type Download /tmp/TestStandaloneModuleInstall194967366/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987213745/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall987213745/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:28Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987213745/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall987213745/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987213745/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall987213745/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:28Z" level=debug msg="Module needs custom reboot" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall194967366/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall194967366/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall194967366/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall194967366/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall194967366/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall194967366/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987213745/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall987213745/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:28Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987213745/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall987213745/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall194967366/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall194967366/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall194967366/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall194967366/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback -time="2023-07-27T20:07:28Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:28Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall987191022/artifact.mender]" -time="2023-07-27T20:07:28Z" level=debug msg="Fetching update from file results: [&{0xc00054c420}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall588801191/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc00033e3c0}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987191022/device_type" -time="2023-07-27T20:07:28Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:28Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:28Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall987191022/artifact_info file." -time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987191022/artifact_info" -time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987191022/artifact_info" -time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987191022/device_type" -time="2023-07-27T20:07:28Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type Download /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall588801191/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall588801191/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall588801191/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall588801191/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall588801191/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall588801191/modules/test-type Download /tmp/TestStandaloneModuleInstall588801191/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="Update module output: No" -time="2023-07-27T20:07:28Z" level=debug msg="Module does not support rollback" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:28Z" level=debug msg="Module needs custom reboot" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall588801191/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall588801191/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: No" +time="2023-07-27T20:16:05Z" level=debug msg="Module does not support rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall588801191/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall588801191/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall588801191/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall588801191/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:28Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="Update module output: No" -time="2023-07-27T20:07:28Z" level=debug msg="Module does not support rollback" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" -time="2023-07-27T20:07:28Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall588801191/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall588801191/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: No" +time="2023-07-27T20:16:05Z" level=debug msg="Module does not support rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall588801191/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall588801191/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall588801191/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall588801191/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback -time="2023-07-27T20:07:28Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:28Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall216885615/artifact.mender]" -time="2023-07-27T20:07:28Z" level=debug msg="Fetching update from file results: [&{0xc000306240}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall343918620/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc00067f200}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall216885615/device_type" -time="2023-07-27T20:07:28Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:28Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:28Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:28Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall216885615/artifact_info file." -time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall216885615/artifact_info" -time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall216885615/artifact_info" -time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall216885615/device_type" -time="2023-07-27T20:07:28Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type Download /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall343918620/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall343918620/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall343918620/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall343918620/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall343918620/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall343918620/modules/test-type Download /tmp/TestStandaloneModuleInstall343918620/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="Update module output: No" -time="2023-07-27T20:07:29Z" level=debug msg="Module does not support rollback" -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:29Z" level=debug msg="Module needs custom reboot" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall343918620/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall343918620/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: No" +time="2023-07-27T20:16:05Z" level=debug msg="Module does not support rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall343918620/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall343918620/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall343918620/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall343918620/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:29Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="Update module output: No" -time="2023-07-27T20:07:29Z" level=debug msg="Module does not support rollback" -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall343918620/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall343918620/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall343918620/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall343918620/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: No" +time="2023-07-27T20:16:05Z" level=debug msg="Module does not support rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall343918620/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall343918620/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall343918620/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall343918620/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback -time="2023-07-27T20:07:29Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:29Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall954111108/artifact.mender]" -time="2023-07-27T20:07:29Z" level=debug msg="Fetching update from file results: [&{0xc0001b4300}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall059662133/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc000438120}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall954111108/device_type" -time="2023-07-27T20:07:29Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:29Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:29Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:29Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:29Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall954111108/artifact_info file." -time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall954111108/artifact_info" -time="2023-07-27T20:07:29Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:29Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall954111108/artifact_info" -time="2023-07-27T20:07:29Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall954111108/device_type" -time="2023-07-27T20:07:29Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:29Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall954111108/modules/test-type Download /tmp/TestStandaloneModuleInstall954111108/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059662133/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall059662133/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059662133/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059662133/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall059662133/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall059662133/modules/test-type Download /tmp/TestStandaloneModuleInstall059662133/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall954111108/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall954111108/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="Update module output: No" -time="2023-07-27T20:07:29Z" level=debug msg="Module does not support rollback" -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall954111108/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall954111108/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall954111108/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall954111108/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:29Z" level=debug msg="Module needs custom reboot" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall059662133/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall059662133/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: No" +time="2023-07-27T20:16:05Z" level=debug msg="Module does not support rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall059662133/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall059662133/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall059662133/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall059662133/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall954111108/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall954111108/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:29Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall954111108/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall954111108/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall059662133/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall059662133/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall059662133/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall059662133/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 -time="2023-07-27T20:07:29Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:29Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall935151037/artifact.mender]" -time="2023-07-27T20:07:29Z" level=debug msg="Fetching update from file results: [&{0xc000100e40}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall812497602/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc000438060}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall935151037/device_type" -time="2023-07-27T20:07:29Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:29Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:29Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:29Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:29Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall935151037/artifact_info file." -time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall935151037/artifact_info" -time="2023-07-27T20:07:29Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:29Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall935151037/artifact_info" -time="2023-07-27T20:07:29Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall935151037/device_type" -time="2023-07-27T20:07:29Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:29Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:29Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type Download /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall812497602/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall812497602/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall812497602/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall812497602/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall812497602/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812497602/modules/test-type Download /tmp/TestStandaloneModuleInstall812497602/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:29Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:29Z" level=debug msg="Module needs custom reboot" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812497602/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall812497602/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812497602/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall812497602/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812497602/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall812497602/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" -time="2023-07-27T20:07:29Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:29Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812497602/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall812497602/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:30Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:30Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812497602/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall812497602/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812497602/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall812497602/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall812497602/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall812497602/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback -time="2023-07-27T20:07:30Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:30Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall180654570/artifact.mender]" -time="2023-07-27T20:07:30Z" level=debug msg="Fetching update from file results: [&{0xc00044f5c0}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall709377491/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc0001d2120}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall180654570/device_type" -time="2023-07-27T20:07:30Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall180654570/artifact_info file." -time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall180654570/artifact_info" -time="2023-07-27T20:07:30Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall180654570/artifact_info" -time="2023-07-27T20:07:30Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall180654570/device_type" -time="2023-07-27T20:07:30Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type Download /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall709377491/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall709377491/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall709377491/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall709377491/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall709377491/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall709377491/modules/test-type Download /tmp/TestStandaloneModuleInstall709377491/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:30Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:30Z" level=debug msg="Module needs custom reboot" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall709377491/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall709377491/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall709377491/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall709377491/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall709377491/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall709377491/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:30Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall709377491/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall709377491/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:30Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:30Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall709377491/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall709377491/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall709377491/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall709377491/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall709377491/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall709377491/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 -time="2023-07-27T20:07:30Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:30Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall519762971/artifact.mender]" -time="2023-07-27T20:07:30Z" level=debug msg="Fetching update from file results: [&{0xc000228120}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall510537912/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc00065e300}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall519762971/device_type" -time="2023-07-27T20:07:30Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall519762971/artifact_info file." -time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall519762971/artifact_info" -time="2023-07-27T20:07:30Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall519762971/artifact_info" -time="2023-07-27T20:07:30Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall519762971/device_type" -time="2023-07-27T20:07:30Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type Download /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall510537912/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall510537912/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall510537912/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall510537912/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall510537912/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall510537912/modules/test-type Download /tmp/TestStandaloneModuleInstall510537912/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:30Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:30Z" level=debug msg="Module needs custom reboot" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall510537912/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall510537912/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall510537912/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall510537912/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall510537912/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall510537912/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:30Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall510537912/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall510537912/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:30Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2023-07-27T20:07:30Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" -time="2023-07-27T20:07:30Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall510537912/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall510537912/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall510537912/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall510537912/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall510537912/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall510537912/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 -time="2023-07-27T20:07:30Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:30Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall253012640/artifact.mender]" -time="2023-07-27T20:07:30Z" level=debug msg="Fetching update from file results: [&{0xc00033c240}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall186183169/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc0018d4120}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall253012640/device_type" -time="2023-07-27T20:07:30Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:30Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:30Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall253012640/artifact_info file." -time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall253012640/artifact_info" -time="2023-07-27T20:07:30Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall253012640/artifact_info" -time="2023-07-27T20:07:30Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall253012640/device_type" -time="2023-07-27T20:07:30Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type Download /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall186183169/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall186183169/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall186183169/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall186183169/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall186183169/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall186183169/modules/test-type Download /tmp/TestStandaloneModuleInstall186183169/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:31Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:31Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:31Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall186183169/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall186183169/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall186183169/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall186183169/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall186183169/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall186183169/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:31Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:31Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall186183169/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall186183169/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall186183169/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall186183169/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall186183169/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall186183169/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback -time="2023-07-27T20:07:31Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:31Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall864271369/artifact.mender]" -time="2023-07-27T20:07:31Z" level=debug msg="Fetching update from file results: [&{0xc00044e2a0}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall077993854/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc00033e3c0}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall864271369/device_type" -time="2023-07-27T20:07:31Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:31Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:31Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:31Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall864271369/artifact_info file." -time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall864271369/artifact_info" -time="2023-07-27T20:07:31Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:31Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall864271369/artifact_info" -time="2023-07-27T20:07:31Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall864271369/device_type" -time="2023-07-27T20:07:31Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:31Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type Download /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077993854/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall077993854/artifact_info file." +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077993854/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077993854/artifact_info" +time="2023-07-27T20:16:05Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077993854/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077993854/modules/test-type Download /tmp/TestStandaloneModuleInstall077993854/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:31Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:31Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:31Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077993854/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall077993854/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077993854/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall077993854/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077993854/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall077993854/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:05Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:31Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:31Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077993854/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall077993854/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:05Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077993854/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall077993854/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:05Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall077993854/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall077993854/work/payloads/0000/tree" +time="2023-07-27T20:16:05Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 -time="2023-07-27T20:07:31Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:31Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall257840166/artifact.mender]" -time="2023-07-27T20:07:31Z" level=debug msg="Fetching update from file results: [&{0xc0004d6120}], 5632, " +time="2023-07-27T20:16:05Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:05Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall252911423/artifact.mender]" +time="2023-07-27T20:16:05Z" level=debug msg="Fetching update from file results: [&{0xc00067f380}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall257840166/device_type" -time="2023-07-27T20:07:31Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:31Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:31Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:31Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall257840166/artifact_info file." -time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall257840166/artifact_info" -time="2023-07-27T20:07:31Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:31Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall257840166/artifact_info" -time="2023-07-27T20:07:31Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall257840166/device_type" -time="2023-07-27T20:07:31Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:31Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type Download /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall252911423/device_type" +time="2023-07-27T20:16:05Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:05Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:05Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:05Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:06Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:06Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall252911423/artifact_info file." +time="2023-07-27T20:16:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall252911423/artifact_info" +time="2023-07-27T20:16:06Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:06Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall252911423/artifact_info" +time="2023-07-27T20:16:06Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall252911423/device_type" +time="2023-07-27T20:16:06Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:06Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:06Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall252911423/modules/test-type Download /tmp/TestStandaloneModuleInstall252911423/work/payloads/0000/tree" +time="2023-07-27T20:16:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:31Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" -time="2023-07-27T20:07:31Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:31Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" -time="2023-07-27T20:07:32Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:32Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:06Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:06Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall252911423/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall252911423/work/payloads/0000/tree" +time="2023-07-27T20:16:06Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:06Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:06Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall252911423/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall252911423/work/payloads/0000/tree" +time="2023-07-27T20:16:06Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:06Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2023-07-27T20:16:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:06Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:06Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall252911423/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall252911423/work/payloads/0000/tree" +time="2023-07-27T20:16:06Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:06Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2023-07-27T20:07:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:32Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2023-07-27T20:07:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" -time="2023-07-27T20:07:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:32Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:32Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2023-07-27T20:07:32Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2023-07-27T20:07:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" -time="2023-07-27T20:07:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" -time="2023-07-27T20:07:32Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2023-07-27T20:16:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:06Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2023-07-27T20:16:06Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall252911423/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall252911423/work/payloads/0000/tree" +time="2023-07-27T20:16:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:06Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:06Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2023-07-27T20:16:06Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2023-07-27T20:16:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:06Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:06Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall252911423/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall252911423/work/payloads/0000/tree" +time="2023-07-27T20:16:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:06Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:06Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall252911423/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall252911423/work/payloads/0000/tree" +time="2023-07-27T20:16:06Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Hang_in_Download -time="2023-07-27T20:07:32Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:32Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall809018119/artifact.mender]" -time="2023-07-27T20:07:32Z" level=debug msg="Fetching update from file results: [&{0xc00044e2a0}], 5632, " +time="2023-07-27T20:16:06Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:06Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall279550100/artifact.mender]" +time="2023-07-27T20:16:06Z" level=debug msg="Fetching update from file results: [&{0xc0018d4180}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall809018119/device_type" -time="2023-07-27T20:07:32Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:32Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:32Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:32Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:32Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall809018119/artifact_info file." -time="2023-07-27T20:07:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall809018119/artifact_info" -time="2023-07-27T20:07:32Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:32Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall809018119/artifact_info" -time="2023-07-27T20:07:32Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall809018119/device_type" -time="2023-07-27T20:07:32Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:32Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall809018119/modules/test-type Download /tmp/TestStandaloneModuleInstall809018119/work/payloads/0000/tree" -time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" -time="2023-07-27T20:07:37Z" level=error msg="Process 1867410 timed out. Sending SIGTERM" -time="2023-07-27T20:07:37Z" level=error msg="Download failed: Update module terminated abnormally: signal: terminated" -time="2023-07-27T20:07:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:37Z" level=debug msg="Executing script: Download_Error_00" -time="2023-07-27T20:07:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall809018119/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall809018119/work/payloads/0000/tree" -time="2023-07-27T20:07:37Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall809018119/artifact_info file." -time="2023-07-27T20:07:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall809018119/artifact_info" -time="2023-07-27T20:07:37Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:37Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall279550100/device_type" +time="2023-07-27T20:16:06Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:06Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:06Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:06Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:06Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:06Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall279550100/artifact_info file." +time="2023-07-27T20:16:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall279550100/artifact_info" +time="2023-07-27T20:16:06Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:06Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall279550100/artifact_info" +time="2023-07-27T20:16:06Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall279550100/device_type" +time="2023-07-27T20:16:06Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:06Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:06Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall279550100/modules/test-type Download /tmp/TestStandaloneModuleInstall279550100/work/payloads/0000/tree" +time="2023-07-27T20:16:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:11Z" level=error msg="Process 3368002 timed out. Sending SIGTERM" +time="2023-07-27T20:16:11Z" level=error msg="Download failed: Update module terminated abnormally: signal: terminated" +time="2023-07-27T20:16:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:11Z" level=debug msg="Executing script: Download_Error_00" +time="2023-07-27T20:16:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:11Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall279550100/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall279550100/work/payloads/0000/tree" +time="2023-07-27T20:16:11Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall279550100/artifact_info file." +time="2023-07-27T20:16:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall279550100/artifact_info" +time="2023-07-27T20:16:11Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:11Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Hang_in_ArtifactInstall -time="2023-07-27T20:07:37Z" level=debug msg="Starting device update." -time="2023-07-27T20:07:37Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall055333884/artifact.mender]" -time="2023-07-27T20:07:37Z" level=debug msg="Fetching update from file results: [&{0xc0001b41e0}], 5632, " +time="2023-07-27T20:16:11Z" level=debug msg="Starting device update." +time="2023-07-27T20:16:11Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall781899021/artifact.mender]" +time="2023-07-27T20:16:11Z" level=debug msg="Fetching update from file results: [&{0xc00067f260}], 5632, " Installing Artifact of size 5632... -time="2023-07-27T20:07:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall055333884/device_type" -time="2023-07-27T20:07:37Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:37Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:37Z" level=debug msg="Executing script: Download_Enter_00" -time="2023-07-27T20:07:37Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:37Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2023-07-27T20:07:37Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall055333884/artifact_info file." -time="2023-07-27T20:07:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall055333884/artifact_info" -time="2023-07-27T20:07:37Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:37Z" level=debug msg="Current manifest data: old_name" -time="2023-07-27T20:07:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall055333884/artifact_info" -time="2023-07-27T20:07:37Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall055333884/device_type" -time="2023-07-27T20:07:37Z" level=debug msg="device_type=test-device" -time="2023-07-27T20:07:37Z" level=debug msg="Current manifest data: test-device" -time="2023-07-27T20:07:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2023-07-27T20:07:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2023-07-27T20:07:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type Download /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" -time="2023-07-27T20:07:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2023-07-27T20:16:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall781899021/device_type" +time="2023-07-27T20:16:11Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:11Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:11Z" level=debug msg="Executing script: Download_Enter_00" +time="2023-07-27T20:16:11Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2023-07-27T20:16:11Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2023-07-27T20:16:11Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall781899021/artifact_info file." +time="2023-07-27T20:16:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall781899021/artifact_info" +time="2023-07-27T20:16:11Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:11Z" level=debug msg="Current manifest data: old_name" +time="2023-07-27T20:16:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall781899021/artifact_info" +time="2023-07-27T20:16:11Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall781899021/device_type" +time="2023-07-27T20:16:11Z" level=debug msg="device_type=test-device" +time="2023-07-27T20:16:11Z" level=debug msg="Current manifest data: test-device" +time="2023-07-27T20:16:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2023-07-27T20:16:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2023-07-27T20:16:11Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall781899021/modules/test-type Download /tmp/TestStandaloneModuleInstall781899021/work/payloads/0000/tree" +time="2023-07-27T20:16:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2023-07-27T20:07:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:37Z" level=debug msg="Executing script: Download_Leave_00" -time="2023-07-27T20:07:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" -time="2023-07-27T20:07:37Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:37Z" level=debug msg="Module supports rollback" -time="2023-07-27T20:07:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2023-07-27T20:07:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2023-07-27T20:07:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" -time="2023-07-27T20:07:42Z" level=error msg="Process 1867860 timed out. Sending SIGTERM" -time="2023-07-27T20:07:42Z" level=error msg="Update module terminated abnormally: signal: terminated" -time="2023-07-27T20:07:42Z" level=error msg="Installation failed: Update module terminated abnormally: signal: terminated" -time="2023-07-27T20:07:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:42Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2023-07-27T20:07:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2023-07-27T20:07:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" -time="2023-07-27T20:07:42Z" level=debug msg="Update module output: Yes" -time="2023-07-27T20:07:42Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:11Z" level=debug msg="Executing script: Download_Leave_00" +time="2023-07-27T20:16:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:11Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall781899021/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall781899021/work/payloads/0000/tree" +time="2023-07-27T20:16:11Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:11Z" level=debug msg="Module supports rollback" +time="2023-07-27T20:16:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2023-07-27T20:16:11Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2023-07-27T20:16:11Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall781899021/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall781899021/work/payloads/0000/tree" +time="2023-07-27T20:16:16Z" level=error msg="Process 3368011 timed out. Sending SIGTERM" +time="2023-07-27T20:16:16Z" level=error msg="Update module terminated abnormally: signal: terminated" +time="2023-07-27T20:16:16Z" level=error msg="Installation failed: Update module terminated abnormally: signal: terminated" +time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall781899021/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall781899021/work/payloads/0000/tree" +time="2023-07-27T20:16:16Z" level=debug msg="Update module output: Yes" +time="2023-07-27T20:16:16Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2023-07-27T20:07:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:42Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2023-07-27T20:07:42Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2023-07-27T20:07:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" -time="2023-07-27T20:07:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2023-07-27T20:07:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2023-07-27T20:07:42Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2023-07-27T20:07:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" -time="2023-07-27T20:07:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:07:42Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2023-07-27T20:07:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2023-07-27T20:07:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" -time="2023-07-27T20:07:42Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall055333884/artifact_info file." -time="2023-07-27T20:07:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall055333884/artifact_info" -time="2023-07-27T20:07:42Z" level=debug msg="artifact_name=old_name" -time="2023-07-27T20:07:42Z" level=debug msg="Current manifest data: old_name" ---- PASS: TestStandaloneModuleInstall (19.25s) - --- PASS: TestStandaloneModuleInstall/Normal_install,_no_rollback (0.30s) - --- PASS: TestStandaloneModuleInstall/Normal_install (0.32s) - --- PASS: TestStandaloneModuleInstall/Normal_commit (0.31s) - --- PASS: TestStandaloneModuleInstall/Normal_rollback (0.32s) - --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Enter_00 (0.13s) - --- PASS: TestStandaloneModuleInstall/Fail_in_Download (0.20s) - --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Leave_00 (0.19s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 (0.33s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall (0.44s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 (1.06s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 (0.43s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit (0.47s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 (0.32s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback (0.34s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback (0.36s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback (0.42s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 (0.45s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback (0.43s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 (0.31s) - --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 (0.43s) - --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback (0.48s) - --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 (0.47s) - --- PASS: TestStandaloneModuleInstall/Hang_in_Download (5.25s) - --- PASS: TestStandaloneModuleInstall/Hang_in_ArtifactInstall (5.48s) +time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall781899021/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall781899021/work/payloads/0000/tree" +time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall781899021/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall781899021/work/payloads/0000/tree" +time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall781899021/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall781899021/work/payloads/0000/tree" +time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall781899021/artifact_info file." +time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall781899021/artifact_info" +time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" +time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" +--- PASS: TestStandaloneModuleInstall (11.02s) + --- PASS: TestStandaloneModuleInstall/Normal_install,_no_rollback (0.04s) + --- PASS: TestStandaloneModuleInstall/Normal_install (0.03s) + --- PASS: TestStandaloneModuleInstall/Normal_commit (0.04s) + --- PASS: TestStandaloneModuleInstall/Normal_rollback (0.04s) + --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Enter_00 (0.01s) + --- PASS: TestStandaloneModuleInstall/Fail_in_Download (0.02s) + --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Leave_00 (0.03s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 (0.04s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall (0.04s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 (0.05s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 (0.05s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit (0.06s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 (0.04s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback (0.05s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback (0.05s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback (0.04s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 (0.05s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback (0.05s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 (0.05s) + --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 (0.05s) + --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback (0.05s) + --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 (0.05s) + --- PASS: TestStandaloneModuleInstall/Hang_in_Download (5.02s) + --- PASS: TestStandaloneModuleInstall/Hang_in_ArtifactInstall (5.05s) === RUN TestStandaloneStoreAndRestore -time="2023-07-27T20:07:43Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" - standalone_test.go:1053: Running test: {Persist ArtifactName 0xc000020d00 []} -time="2023-07-27T20:07:43Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" - standalone_test.go:1053: Running test: {Persist ArtifactName and Artifact Group 0xc000020d40 []} -time="2023-07-27T20:07:43Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" - standalone_test.go:1053: Running test: {Persist ArtifactName and Artifact Group and TypeInfo 0xc000020d80 []} -time="2023-07-27T20:07:43Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" ---- PASS: TestStandaloneStoreAndRestore (0.01s) +time="2023-07-27T20:16:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" + standalone_test.go:1053: Running test: {Persist ArtifactName 0xc000574480 []} +time="2023-07-27T20:16:16Z" 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 0xc0005744c0 []} +time="2023-07-27T20:16:16Z" 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 0xc000574500 []} +time="2023-07-27T20:16:16Z" 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="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=info msg="Wait canceled" -time="2023-07-27T20:07:43Z" level=info msg="Forced wake-up from sleep" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=info msg="Wait canceled" +time="2023-07-27T20:16:16Z" level=info msg="Forced wake-up from sleep" --- PASS: TestStateWait (0.10s) === RUN TestStateError -time="2023-07-27T20:07:43Z" level=info msg="Handling error state, current error: transient error: foo" -time="2023-07-27T20:07:43Z" level=info msg="Handling error state, current error: fatal error: general error" +time="2023-07-27T20:16:16Z" level=info msg="Handling error state, current error: transient error: foo" +time="2023-07-27T20:16:16Z" level=info msg="Handling error state, current error: fatal error: general error" --- PASS: TestStateError (0.00s) === RUN TestStateUpdateReportStatus -time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2023-07-27T20:07:43Z" level=debug msg="Reporting complete" -time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=debug msg="Reporting complete" -time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: report failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" - state_test.go:342: - Error Trace: state_test.go:342 - Error: Max difference between 2023-07-27 20:07:43.104171602 +0000 UTC m=+197.771190655 and 2023-07-27 20:07:43.140839773 +0000 UTC m=+197.807858607 allowed is 20ms, but difference was -36.667952ms - Test: TestStateUpdateReportStatus -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" - state_test.go:369: - Error Trace: state_test.go:369 - Error: Max difference between 2023-07-27 20:07:43.141024052 +0000 UTC m=+197.808042876 and 2023-07-27 20:07:43.171073201 +0000 UTC m=+197.838092045 allowed is 25ms, but difference was -30.049169ms - Test: TestStateUpdateReportStatus -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" -time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" ---- FAIL: TestStateUpdateReportStatus (0.07s) +time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2023-07-27T20:16:16Z" level=debug msg="Reporting complete" +time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=debug msg="Reporting complete" +time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send status to server: transient error: report failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2023-07-27T20:16:16Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2023-07-27T20:16:16Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2023-07-27T20:16:16Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2023-07-27T20:16:16Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2023-07-27T20:16:16Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2023-07-27T20:16:16Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2023-07-27T20:16:16Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2023-07-27T20:16:16Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2023-07-27T20:16:16Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2023-07-27T20:16:16Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2023-07-27T20:16:16Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" +time="2023-07-27T20:16:16Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle authorize state" -time="2023-07-27T20:07:43Z" level=debug msg="Handle authorize state" -time="2023-07-27T20:07:43Z" level=error msg="Authorize failed: transient error: auth fail temp" -time="2023-07-27T20:07:43Z" level=debug msg="Handle authorize state" -time="2023-07-27T20:07:43Z" level=error msg="Authorize failed: fatal error: auth error" +time="2023-07-27T20:16:16Z" level=debug msg="Handle authorize state" +time="2023-07-27T20:16:16Z" level=debug msg="Handle authorize state" +time="2023-07-27T20:16:16Z" level=error msg="Authorize failed: transient error: auth fail temp" +time="2023-07-27T20:16:16Z" level=debug msg="Handle authorize state" +time="2023-07-27T20:16:16Z" level=error msg="Authorize failed: fatal error: auth error" --- PASS: TestStateAuthorize (0.00s) === RUN TestStateUpdateCommit -time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" -time="2023-07-27T20:07:43Z" level=debug msg="Handle update commit state" -time="2023-07-27T20:07:43Z" level=debug msg="Committing new artifact name: TestName" -time="2023-07-27T20:07:43Z" level=debug msg="Committing new artifact group name: TestGroup" -time="2023-07-27T20:07:43Z" level=debug msg="Committing new artifact type-info provides" +time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:16:16Z" level=debug msg="Handle update commit state" +time="2023-07-27T20:16:16Z" level=debug msg="Committing new artifact name: TestName" +time="2023-07-27T20:16:16Z" level=debug msg="Committing new artifact group name: TestGroup" +time="2023-07-27T20:16:16Z" level=debug msg="Committing new artifact type-info provides" --- PASS: TestStateUpdateCommit (0.00s) === RUN TestStateInvetoryUpdate -time="2023-07-27T20:07:43Z" level=warning msg="Failed to refresh inventory: some err" -time="2023-07-27T20:07:43Z" level=debug msg="Inventory refresh complete" -time="2023-07-27T20:07:43Z" level=warning msg="Failed to refresh inventory: cannot determine current artifact name" +time="2023-07-27T20:16:16Z" level=warning msg="Failed to refresh inventory: some err" +time="2023-07-27T20:16:16Z" level=debug msg="Inventory refresh complete" +time="2023-07-27T20:16:16Z" level=warning msg="Failed to refresh inventory: cannot determine current artifact name" --- PASS: TestStateInvetoryUpdate (0.00s) === RUN TestStateAuthorizeWait -time="2023-07-27T20:07:43Z" level=debug msg="Handle authorize wait state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 0s before next authorization attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Handle authorize wait state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 99.969415ms before next authorization attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handle authorize wait state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 97.208224ms before next authorization attempt" -time="2023-07-27T20:07:43Z" level=info msg="Wait canceled" +time="2023-07-27T20:16:16Z" level=debug msg="Handle authorize wait state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 0s before next authorization attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Handle authorize wait state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 99.966927ms before next authorization attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handle authorize wait state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 99.7892ms before next authorization attempt" +time="2023-07-27T20:16:16Z" level=info msg="Wait canceled" --- PASS: TestStateAuthorizeWait (0.10s) === RUN TestStateUpdateCheckWait -time="2023-07-27T20:07:43Z" level=debug msg="Handle check wait state" -time="2023-07-27T20:07:43Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 0001-01-01 00:00:00 +0000 UTC)" -time="2023-07-27T20:07:43Z" level=debug msg="Next check: 0001-01-01 00:00:00 +0000 UTC:inventory-update, (2023-07-27 20:07:43.275343067 +0000 UTC m=+197.942361893)" -time="2023-07-27T20:07:43Z" level=debug msg="Check wait returned: inventory-update" -time="2023-07-27T20:07:43Z" level=debug msg="Handle check wait state" -time="2023-07-27T20:07:43Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 2023-07-27 20:07:43.295386291 +0000 UTC m=+197.962405110)" -time="2023-07-27T20:07:43Z" level=debug msg="Next check: 0001-01-01 00:00:00.01 +0000 UTC:update-check, (2023-07-27 20:07:43.27543594 +0000 UTC m=+197.942454769)" -time="2023-07-27T20:07:43Z" level=debug msg="Check wait returned: update-check" -time="2023-07-27T20:07:43Z" level=debug msg="Handle check wait state" -time="2023-07-27T20:07:43Z" level=debug msg="Check wait state; next checks: (update: 2023-07-27 20:07:43.285473435 +0000 UTC m=+197.952492256) (inventory: 2023-07-27 20:07:43.295386291 +0000 UTC m=+197.962405110)" -time="2023-07-27T20:07:43Z" level=debug msg="Next check: 2023-07-27 20:07:43.285473435 +0000 UTC m=+197.952492256:update-check, (2023-07-27 20:07:43.275530208 +0000 UTC m=+197.942549059)" -time="2023-07-27T20:07:43Z" level=debug msg="Waiting 9.943197ms for the next state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handle check wait state" -time="2023-07-27T20:07:43Z" level=debug msg="Check wait state; next checks: (update: 2023-07-27 20:07:43.297183149 +0000 UTC m=+197.964201989) (inventory: 2023-07-27 20:07:43.295386291 +0000 UTC m=+197.962405110)" -time="2023-07-27T20:07:43Z" level=debug msg="Next check: 2023-07-27 20:07:43.295386291 +0000 UTC m=+197.962405110:inventory-update, (2023-07-27 20:07:43.287283856 +0000 UTC m=+197.954302685)" -time="2023-07-27T20:07:43Z" level=debug msg="Waiting 8.102425ms for the next state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" -time="2023-07-27T20:07:43Z" level=debug msg="Handle check wait state" -time="2023-07-27T20:07:43Z" level=debug msg="Check wait state; next checks: (update: 2023-07-27 20:07:43.387183149 +0000 UTC m=+198.054201989) (inventory: 2023-07-27 20:07:43.395386291 +0000 UTC m=+198.062405110)" -time="2023-07-27T20:07:43Z" level=debug msg="Next check: 2023-07-27 20:07:43.387183149 +0000 UTC m=+198.054201989:update-check, (2023-07-27 20:07:43.299191647 +0000 UTC m=+197.966210478)" -time="2023-07-27T20:07:43Z" level=debug msg="Waiting 87.991511ms for the next state" -time="2023-07-27T20:07:43Z" level=info msg="Wait canceled" +time="2023-07-27T20:16:16Z" level=debug msg="Handle check wait state" +time="2023-07-27T20:16:16Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 0001-01-01 00:00:00 +0000 UTC)" +time="2023-07-27T20:16:16Z" level=debug msg="Next check: 0001-01-01 00:00:00 +0000 UTC:inventory-update, (2023-07-27 20:16:16.335966768 +0000 UTC m=+169.613939018)" +time="2023-07-27T20:16:16Z" level=debug msg="Check wait returned: inventory-update" +time="2023-07-27T20:16:16Z" level=debug msg="Handle check wait state" +time="2023-07-27T20:16:16Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 2023-07-27 20:16:16.355999336 +0000 UTC m=+169.633971587)" +time="2023-07-27T20:16:16Z" level=debug msg="Next check: 0001-01-01 00:00:00.01 +0000 UTC:update-check, (2023-07-27 20:16:16.336035449 +0000 UTC m=+169.614007695)" +time="2023-07-27T20:16:16Z" level=debug msg="Check wait returned: update-check" +time="2023-07-27T20:16:16Z" level=debug msg="Handle check wait state" +time="2023-07-27T20:16:16Z" level=debug msg="Check wait state; next checks: (update: 2023-07-27 20:16:16.346068 +0000 UTC m=+169.624040252) (inventory: 2023-07-27 20:16:16.355999336 +0000 UTC m=+169.633971587)" +time="2023-07-27T20:16:16Z" level=debug msg="Next check: 2023-07-27 20:16:16.346068 +0000 UTC m=+169.624040252:update-check, (2023-07-27 20:16:16.33611366 +0000 UTC m=+169.614085909)" +time="2023-07-27T20:16:16Z" level=debug msg="Waiting 9.954343ms for the next state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handle check wait state" +time="2023-07-27T20:16:16Z" level=debug msg="Check wait state; next checks: (update: 2023-07-27 20:16:16.35626544 +0000 UTC m=+169.634237697) (inventory: 2023-07-27 20:16:16.355999336 +0000 UTC m=+169.633971587)" +time="2023-07-27T20:16:16Z" level=debug msg="Next check: 2023-07-27 20:16:16.355999336 +0000 UTC m=+169.633971587:inventory-update, (2023-07-27 20:16:16.346319386 +0000 UTC m=+169.624291653)" +time="2023-07-27T20:16:16Z" level=debug msg="Waiting 9.679934ms for the next state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait complete" +time="2023-07-27T20:16:16Z" level=debug msg="Handle check wait state" +time="2023-07-27T20:16:16Z" level=debug msg="Check wait state; next checks: (update: 2023-07-27 20:16:16.44626544 +0000 UTC m=+169.724237697) (inventory: 2023-07-27 20:16:16.455999336 +0000 UTC m=+169.733971587)" +time="2023-07-27T20:16:16Z" level=debug msg="Next check: 2023-07-27 20:16:16.44626544 +0000 UTC m=+169.724237697:update-check, (2023-07-27 20:16:16.356237195 +0000 UTC m=+169.634209444)" +time="2023-07-27T20:16:16Z" level=debug msg="Waiting 90.028253ms for the next state" +time="2023-07-27T20:16:16Z" level=info msg="Wait canceled" --- PASS: TestStateUpdateCheckWait (0.02s) === RUN TestStateUpdateCheck -time="2023-07-27T20:07:43Z" level=debug msg="Handle update check state" -time="2023-07-27T20:07:43Z" level=debug msg="Handle update check state" -time="2023-07-27T20:07:43Z" level=error msg="Update check failed: transient error: check failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle update check state" +time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" +time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" +time="2023-07-27T20:16:16Z" level=error msg="Update check failed: transient error: check failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" --- PASS: TestStateUpdateCheck (0.00s) === RUN TestUpdateCheckSameImage -time="2023-07-27T20:07:43Z" level=debug msg="Handle update check state" +time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" --- PASS: TestUpdateCheckSameImage (0.00s) === RUN TestStateUpdateFetch -time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" -time="2023-07-27T20:07:43Z" level=error msg="Could not write state data to persistent storage: read only" -time="2023-07-27T20:07:43Z" level=error msg="fatal error: read only" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" +time="2023-07-27T20:16:16Z" level=error msg="Could not write state data to persistent storage: read only" +time="2023-07-27T20:16:16Z" level=error msg="fatal error: read only" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" --- PASS: TestStateUpdateFetch (0.00s) === RUN TestStateUpdateFetchRetry -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" --- PASS: TestStateUpdateFetchRetry (0.00s) === RUN TestStateUpdateStore -time="2023-07-27T20:07:43Z" level=error msg="fatal error: test failure" -time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" ---- PASS: TestStateUpdateStore (0.06s) +time="2023-07-27T20:16:16Z" level=error msg="fatal error: test failure" +time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +--- PASS: TestStateUpdateStore (0.01s) === RUN TestUpdateStoreDependencies -time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2023-07-27T20:07:43Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != )." -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2023-07-27T20:07:43Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2023-07-27T20:07:43Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2023-07-27T20:07:43Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != WrongGroup)." -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" ---- PASS: TestUpdateStoreDependencies (0.08s) +time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2023-07-27T20:16:16Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != )." +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2023-07-27T20:16:16Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != NonExistingArtie)." +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2023-07-27T20:16:16Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2023-07-27T20:16:16Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != WrongGroup)." +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +--- PASS: TestUpdateStoreDependencies (0.01s) === RUN TestStateWrongArtifactNameFromServer -time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2023-07-27T20:07:43Z" level=error msg="Artifact name in artifact is not what the server claims (TestName != WrongName)." ---- PASS: TestStateWrongArtifactNameFromServer (0.06s) +time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2023-07-27T20:16:16Z" level=error msg="Artifact name in artifact is not what the server claims (TestName != WrongName)." +--- PASS: TestStateWrongArtifactNameFromServer (0.01s) === RUN TestStateUpdateInstallRetry -time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" -time="2023-07-27T20:07:43Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" -time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" -time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:07:43Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" +time="2023-07-27T20:16:16Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2023-07-27T20:16:16Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" +time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" +time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:16:16Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2023-07-27T20:16:16Z" level=debug msg="Handle fetch install retry state" --- PASS: TestStateUpdateInstallRetry (0.00s) === RUN TestStateFinal --- PASS: TestStateFinal (0.00s) === RUN TestStateData ---- PASS: TestStateData (0.01s) +--- PASS: TestStateData (0.00s) === RUN TestStateReportError -time="2023-07-27T20:07:43Z" level=error msg="Handling report error state with status: success" -time="2023-07-27T20:07:43Z" level=error msg="Handling report error state with status: failure" -time="2023-07-27T20:07:43Z" level=error msg="Error while performing update: failure ({{{ } [] [] map[]} foobar [] 0 false})" -time="2023-07-27T20:07:43Z" level=error msg="Handling report error state with status: already-installed" +time="2023-07-27T20:16:16Z" level=error msg="Handling report error state with status: success" +time="2023-07-27T20:16:16Z" level=error msg="Handling report error state with status: failure" +time="2023-07-27T20:16:16Z" level=error msg="Error while performing update: failure ({{{ } [] [] map[]} foobar [] 0 false})" +time="2023-07-27T20:16:16Z" level=error msg="Handling report error state with status: already-installed" --- PASS: TestStateReportError (0.00s) === RUN TestMaxSendingAttempts --- PASS: TestMaxSendingAttempts (0.00s) @@ -3758,11400 +6383,11400 @@ === RUN TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback state_test.go:4717: Normal install, no reboot, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:43Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:43Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:43Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:43Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33436->[::1]:53: read: connection refused" - time="2023-07-27T20:07:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33436->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53337->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53337->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:44Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:44Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules185899423/device_type" - time="2023-07-27T20:07:44Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:44Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:44Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:44Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules185899423/artifact_info file." - time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules185899423/artifact_info" - time="2023-07-27T20:07:44Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:44Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules185899423/artifact_info" - time="2023-07-27T20:07:44Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules185899423/device_type" - time="2023-07-27T20:07:44Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:44Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules185899423/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules185899423/work/payloads/0000/tree" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules185899423/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules185899423/work/payloads/0000/tree" - time="2023-07-27T20:07:44Z" level=debug msg="Update module output: No" - time="2023-07-27T20:07:44Z" level=debug msg="Module does not support rollback" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42849->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42849->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33814->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33814->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57962->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57962->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42951->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42951->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules185899423/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules185899423/work/payloads/0000/tree" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules185899423/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules185899423/work/payloads/0000/tree" - time="2023-07-27T20:07:44Z" level=debug msg="Update module output: No" - time="2023-07-27T20:07:44Z" level=debug msg="Module does not need reboot" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32800->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32800->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51097->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51097->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34441->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34441->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54177->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54177->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules185899423/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules185899423/work/payloads/0000/tree" - time="2023-07-27T20:07:44Z" level=debug msg="Committing new artifact name: artifact-name" - time="2023-07-27T20:07:44Z" level=debug msg="Committing new artifact group name: " - time="2023-07-27T20:07:44Z" level=debug msg="Committing new artifact type-info provides" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules185899423/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules185899423/work/payloads/0000/tree" - time="2023-07-27T20:07:44Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2023-07-27T20:07:44Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:44Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:44Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.29s) + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57650->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57650->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44767->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44767->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules470844940/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules470844940/artifact_info file." + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules470844940/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules470844940/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules470844940/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules470844940/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules470844940/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules470844940/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules470844940/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:16Z" level=debug msg="Module does not support rollback" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44036->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44036->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45965->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45965->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41314->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41314->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46945->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46945->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules470844940/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules470844940/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules470844940/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules470844940/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:16Z" level=debug msg="Module does not need reboot" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47164->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47164->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49254->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49254->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51763->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51763->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46144->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46144->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules470844940/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules470844940/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Committing new artifact name: artifact-name" + time="2023-07-27T20:16:16Z" level=debug msg="Committing new artifact group name: " + time="2023-07-27T20:16:16Z" level=debug msg="Committing new artifact type-info provides" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules470844940/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules470844940/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:16Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback state_test.go:4717: Normal install, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:44Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36375->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36375->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36383->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36383->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:44Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:44Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules994017396/device_type" - time="2023-07-27T20:07:44Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:44Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:44Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:44Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules994017396/artifact_info file." - time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules994017396/artifact_info" - time="2023-07-27T20:07:44Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:44Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules994017396/artifact_info" - time="2023-07-27T20:07:44Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules994017396/device_type" - time="2023-07-27T20:07:44Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:44Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:44Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" - time="2023-07-27T20:07:44Z" level=debug msg="Update module output: No" - time="2023-07-27T20:07:44Z" level=debug msg="Module does not support rollback" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54371->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54371->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54151->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54151->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43497->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43497->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35870->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35870->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" - time="2023-07-27T20:07:44Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:44Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56590->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56590->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38812->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38812->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52218->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52218->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33316->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33316->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:07:44Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" - time="2023-07-27T20:07:44Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" - time="2023-07-27T20:07:44Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:44Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:07:44Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38394->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38394->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56769->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56769->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41364->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41364->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59561->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59561->[::1]:53: read: connection refused" - time="2023-07-27T20:07:44Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" - time="2023-07-27T20:07:44Z" level=debug msg="Committing new artifact name: artifact-name" - time="2023-07-27T20:07:44Z" level=debug msg="Committing new artifact group name: " - time="2023-07-27T20:07:44Z" level=debug msg="Committing new artifact type-info provides" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2023-07-27T20:07:44Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:44Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" - time="2023-07-27T20:07:45Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2023-07-27T20:07:45Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:45Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:45Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.64s) + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55150->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55150->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36005->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36005->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules974353381/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules974353381/artifact_info file." + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules974353381/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules974353381/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules974353381/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974353381/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules974353381/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974353381/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules974353381/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:16Z" level=debug msg="Module does not support rollback" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41902->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41902->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58901->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58901->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50143->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50143->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40195->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40195->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974353381/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules974353381/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974353381/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules974353381/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:16Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54702->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54702->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41729->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41729->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33830->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33830->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45881->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45881->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:16Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974353381/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules974353381/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974353381/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules974353381/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33914->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33914->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49860->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49860->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43647->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43647->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47313->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47313->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974353381/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules974353381/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Committing new artifact name: artifact-name" + time="2023-07-27T20:16:16Z" level=debug msg="Committing new artifact group name: " + time="2023-07-27T20:16:16Z" level=debug msg="Committing new artifact type-info provides" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules974353381/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules974353381/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:16Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install state_test.go:4717: Normal install state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50158->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50158->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54831->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54831->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:45Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:45Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134060653/device_type" - time="2023-07-27T20:07:45Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:45Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:45Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules134060653/artifact_info file." - time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134060653/artifact_info" - time="2023-07-27T20:07:45Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:45Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134060653/artifact_info" - time="2023-07-27T20:07:45Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134060653/device_type" - time="2023-07-27T20:07:45Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:45Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" - time="2023-07-27T20:07:45Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:45Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:45Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:45Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43760->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43760->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50403->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50403->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33889->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33889->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51545->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51545->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" - time="2023-07-27T20:07:45Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:45Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:07:45Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39432->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39432->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35295->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35295->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40490->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40490->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40588->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40588->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:07:45Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" - time="2023-07-27T20:07:45Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" - time="2023-07-27T20:07:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:45Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:07:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54814->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54814->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43623->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43623->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33946->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33946->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42375->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42375->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" - time="2023-07-27T20:07:45Z" level=debug msg="Committing new artifact name: artifact-name" - time="2023-07-27T20:07:45Z" level=debug msg="Committing new artifact group name: " - time="2023-07-27T20:07:45Z" level=debug msg="Committing new artifact type-info provides" - time="2023-07-27T20:07:45Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2023-07-27T20:07:45Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2023-07-27T20:07:45Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:45Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" - time="2023-07-27T20:07:45Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2023-07-27T20:07:45Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:45Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:45Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.45s) + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33959->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33959->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34413->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34413->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules176698674/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules176698674/artifact_info file." + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules176698674/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules176698674/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules176698674/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules176698674/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules176698674/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules176698674/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules176698674/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:16Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53199->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53199->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56944->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56944->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36304->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36304->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34978->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34978->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules176698674/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules176698674/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules176698674/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules176698674/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:16Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44424->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44424->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33951->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33951->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35770->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35770->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49800->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49800->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:16Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules176698674/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules176698674/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules176698674/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules176698674/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37546->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37546->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37602->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37602->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59902->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59902->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36358->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36358->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules176698674/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules176698674/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Committing new artifact name: artifact-name" + time="2023-07-27T20:16:16Z" level=debug msg="Committing new artifact group name: " + time="2023-07-27T20:16:16Z" level=debug msg="Committing new artifact type-info provides" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules176698674/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules176698674/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:16Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback state_test.go:4717: Error in Download state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50334->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50334->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55154->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55154->[::1]:53: read: connection refused" - time="2023-07-27T20:07:45Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:45Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:45Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules051161178/device_type" - time="2023-07-27T20:07:45Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:45Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:45Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules051161178/artifact_info file." - time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules051161178/artifact_info" - time="2023-07-27T20:07:45Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:45Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules051161178/artifact_info" - time="2023-07-27T20:07:45Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules051161178/device_type" - time="2023-07-27T20:07:45Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:45Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:45Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules051161178/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules051161178/work/payloads/0000/tree" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:45Z" level=error msg="Artifact install failed: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:45Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" - time="2023-07-27T20:07:45Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="Executing script: Download_Error_00" - time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:45Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules051161178/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules051161178/work/payloads/0000/tree" - time="2023-07-27T20:07:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:46Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:46Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules051161178/artifact_info file." - time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules051161178/artifact_info" - time="2023-07-27T20:07:46Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.39s) + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56570->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56570->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57251->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57251->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules200081667/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules200081667/artifact_info file." + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules200081667/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules200081667/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules200081667/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200081667/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules200081667/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:16Z" level=error msg="Artifact install failed: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" + time="2023-07-27T20:16:16Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200081667/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules200081667/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:16Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules200081667/artifact_info file." + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules200081667/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback state_test.go:4717: Killed in Download state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33007->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33007->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37647->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37647->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:46Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:46Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules199989067/device_type" - time="2023-07-27T20:07:46Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:46Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules199989067/artifact_info file." - time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules199989067/artifact_info" - time="2023-07-27T20:07:46Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules199989067/artifact_info" - time="2023-07-27T20:07:46Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules199989067/device_type" - time="2023-07-27T20:07:46Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules199989067/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules199989067/work/payloads/0000/tree" - time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42504->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42504->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57780->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57780->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079795624/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules079795624/artifact_info file." + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079795624/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079795624/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079795624/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079795624/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules079795624/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 2 (*app.updateCleanupState) - time="2023-07-27T20:07:46Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:07:46Z" level=info msg="Handling loaded state: update-store" - time="2023-07-27T20:07:46Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:46Z" level=error msg="Mender shut down in state: update-store" - time="2023-07-27T20:07:46Z" level=info msg="State transition: init [none] -> cleanup [Error]" - time="2023-07-27T20:07:46Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules199989067/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules199989067/work/payloads/0000/tree" - time="2023-07-27T20:07:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:46Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:46Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules199989067/artifact_info file." - time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules199989067/artifact_info" - time="2023-07-27T20:07:46Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.02s) + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:16Z" level=info msg="Handling loaded state: update-store" + time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:16Z" level=error msg="Mender shut down in state: update-store" + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> cleanup [Error]" + time="2023-07-27T20:16:16Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079795624/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules079795624/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:16Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules079795624/artifact_info file." + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079795624/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.00s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback state_test.go:4717: Error in ArtifactInstall state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51047->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51047->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40254->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40254->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:46Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:46Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139845008/device_type" - time="2023-07-27T20:07:46Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:46Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules139845008/artifact_info file." - time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139845008/artifact_info" - time="2023-07-27T20:07:46Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139845008/artifact_info" - time="2023-07-27T20:07:46Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139845008/device_type" - time="2023-07-27T20:07:46Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139845008/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules139845008/work/payloads/0000/tree" - time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139845008/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules139845008/work/payloads/0000/tree" - time="2023-07-27T20:07:46Z" level=debug msg="Update module output: No" - time="2023-07-27T20:07:46Z" level=debug msg="Module does not support rollback" - time="2023-07-27T20:07:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33673->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33673->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60466->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60466->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35200->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35200->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38955->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38955->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139845008/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules139845008/work/payloads/0000/tree" - time="2023-07-27T20:07:46Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:46Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:46Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2023-07-27T20:07:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:46Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51712->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51712->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55751->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55751->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42665->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42665->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50258->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50258->[::1]:53: read: connection refused" - time="2023-07-27T20:07:46Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139845008/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules139845008/work/payloads/0000/tree" - time="2023-07-27T20:07:46Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139845008/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules139845008/work/payloads/0000/tree" - time="2023-07-27T20:07:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:46Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:46Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:46Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:46Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.39s) + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57653->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57653->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42255->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42255->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules955696049/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules955696049/artifact_info file." + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules955696049/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules955696049/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules955696049/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955696049/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules955696049/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955696049/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules955696049/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:16Z" level=debug msg="Module does not support rollback" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35099->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35099->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50405->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50405->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36090->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36090->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45818->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45818->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955696049/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules955696049/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:16Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:16Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:16Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50353->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50353->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55470->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55470->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59509->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59509->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60731->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60731->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955696049/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules955696049/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955696049/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules955696049/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:16Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback state_test.go:4717: Killed in ArtifactInstall state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47507->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47507->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51851->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51851->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:47Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:47Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules842771897/device_type" - time="2023-07-27T20:07:47Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:47Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:47Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules842771897/artifact_info file." - time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules842771897/artifact_info" - time="2023-07-27T20:07:47Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:47Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules842771897/artifact_info" - time="2023-07-27T20:07:47Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules842771897/device_type" - time="2023-07-27T20:07:47Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:47Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules842771897/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules842771897/work/payloads/0000/tree" - time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules842771897/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules842771897/work/payloads/0000/tree" - time="2023-07-27T20:07:47Z" level=debug msg="Update module output: No" - time="2023-07-27T20:07:47Z" level=debug msg="Module does not support rollback" - time="2023-07-27T20:07:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54284->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54284->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53653->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53653->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44024->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44024->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38084->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38084->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules842771897/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules842771897/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45053->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45053->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38170->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38170->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules394390254/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules394390254/artifact_info file." + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules394390254/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules394390254/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules394390254/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules394390254/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules394390254/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules394390254/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules394390254/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:16Z" level=debug msg="Module does not support rollback" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41451->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41451->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35568->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35568->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60912->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60912->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59930->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59930->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules394390254/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules394390254/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateErrorState) - time="2023-07-27T20:07:47Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:07:47Z" level=info msg="Handling loaded state: update-install" - time="2023-07-27T20:07:47Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:47Z" level=error msg="Mender shut down in state: update-install" - time="2023-07-27T20:07:47Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2023-07-27T20:07:47Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:47Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47497->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47497->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41201->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41201->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules842771897/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules842771897/work/payloads/0000/tree" - time="2023-07-27T20:07:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules842771897/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules842771897/work/payloads/0000/tree" - time="2023-07-27T20:07:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:47Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:47Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:47Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.05s) + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:16Z" level=info msg="Handling loaded state: update-install" + time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:16Z" level=error msg="Mender shut down in state: update-install" + time="2023-07-27T20:16:16Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:16Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47431->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47431->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39415->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39415->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules394390254/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules394390254/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules394390254/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules394390254/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:16Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall state_test.go:4717: Error in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43028->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43028->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35762->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35762->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:47Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:47Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules302674326/device_type" - time="2023-07-27T20:07:47Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:47Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:47Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules302674326/artifact_info file." - time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules302674326/artifact_info" - time="2023-07-27T20:07:47Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:47Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules302674326/artifact_info" - time="2023-07-27T20:07:47Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules302674326/device_type" - time="2023-07-27T20:07:47Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:47Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules302674326/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules302674326/work/payloads/0000/tree" - time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules302674326/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules302674326/work/payloads/0000/tree" - time="2023-07-27T20:07:47Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:47Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42910->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42910->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60888->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60888->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36852->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36852->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33880->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33880->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules302674326/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules302674326/work/payloads/0000/tree" - time="2023-07-27T20:07:47Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:47Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:47Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54554->[::1]:53: read: connection refused" - time="2023-07-27T20:07:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54554->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42532->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42532->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33310->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33310->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38328->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38328->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules302674326/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules302674326/work/payloads/0000/tree" - time="2023-07-27T20:07:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45584->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45584->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38645->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38645->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44822->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44822->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40034->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40034->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules302674326/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules302674326/work/payloads/0000/tree" - time="2023-07-27T20:07:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules302674326/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules302674326/work/payloads/0000/tree" - time="2023-07-27T20:07:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:48Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:48Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules302674326/artifact_info file." - time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules302674326/artifact_info" - time="2023-07-27T20:07:48Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:48Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.43s) + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58246->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58246->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52235->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52235->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules131806575/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules131806575/artifact_info file." + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules131806575/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules131806575/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules131806575/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules131806575/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules131806575/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules131806575/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules131806575/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:16Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46686->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46686->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51214->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51214->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44711->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44711->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39724->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39724->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules131806575/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules131806575/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:16Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:16Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57008->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57008->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41641->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41641->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33325->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33325->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40659->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40659->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules131806575/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules131806575/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56220->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56220->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39877->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39877->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51367->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51367->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54511->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54511->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules131806575/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules131806575/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules131806575/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules131806575/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:16Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules131806575/artifact_info file." + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules131806575/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall state_test.go:4717: Killed in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45420->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45420->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37501->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37501->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:48Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:48Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820075319/device_type" - time="2023-07-27T20:07:48Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:48Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:48Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules820075319/artifact_info file." - time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820075319/artifact_info" - time="2023-07-27T20:07:48Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:48Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820075319/artifact_info" - time="2023-07-27T20:07:48Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820075319/device_type" - time="2023-07-27T20:07:48Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:48Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820075319/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules820075319/work/payloads/0000/tree" - time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820075319/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules820075319/work/payloads/0000/tree" - time="2023-07-27T20:07:48Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:48Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35154->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35154->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43970->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43970->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34894->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34894->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40911->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40911->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820075319/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules820075319/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33915->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33915->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33499->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33499->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules763440772/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules763440772/artifact_info file." + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules763440772/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules763440772/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules763440772/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules763440772/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules763440772/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules763440772/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules763440772/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:16Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44410->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44410->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49309->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49309->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56679->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56679->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60560->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60560->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules763440772/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules763440772/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateRollbackState) - time="2023-07-27T20:07:48Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:07:48Z" level=info msg="Handling loaded state: update-install" - time="2023-07-27T20:07:48Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:48Z" level=error msg="Mender shut down in state: update-install" - time="2023-07-27T20:07:48Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:48Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51045->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51045->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56445->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56445->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820075319/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules820075319/work/payloads/0000/tree" - time="2023-07-27T20:07:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45950->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45950->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53449->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53449->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56078->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56078->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60920->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60920->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820075319/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules820075319/work/payloads/0000/tree" - time="2023-07-27T20:07:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820075319/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules820075319/work/payloads/0000/tree" - time="2023-07-27T20:07:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:48Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:48Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules820075319/artifact_info file." - time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820075319/artifact_info" - time="2023-07-27T20:07:48Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:48Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.12s) + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:16Z" level=info msg="Handling loaded state: update-install" + time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:16Z" level=error msg="Mender shut down in state: update-install" + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:16Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49372->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49372->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59204->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59204->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules763440772/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules763440772/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56933->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56933->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49635->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49635->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37104->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37104->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56186->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56186->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules763440772/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules763440772/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules763440772/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules763440772/work/payloads/0000/tree" + time="2023-07-27T20:16:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:16Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:16Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules763440772/artifact_info file." + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules763440772/artifact_info" + time="2023-07-27T20:16:16Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot state_test.go:4717: Error in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:48Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44625->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44625->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52883->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52883->[::1]:53: read: connection refused" - time="2023-07-27T20:07:48Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:48Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:48Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules546475500/device_type" - time="2023-07-27T20:07:48Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:48Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:48Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules546475500/artifact_info file." - time="2023-07-27T20:07:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules546475500/artifact_info" - time="2023-07-27T20:07:49Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:49Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules546475500/artifact_info" - time="2023-07-27T20:07:49Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules546475500/device_type" - time="2023-07-27T20:07:49Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:49Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" - time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" - time="2023-07-27T20:07:49Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:49Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44467->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44467->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34255->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34255->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50771->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50771->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57004->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57004->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" - time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" - time="2023-07-27T20:07:49Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:49Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:07:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54958->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54958->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54283->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54283->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48636->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48636->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45700->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45700->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:07:49Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" - time="2023-07-27T20:07:49Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:49Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:49Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:49Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47260->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47260->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60459->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60459->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48376->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48376->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49684->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49684->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" - time="2023-07-27T20:07:49Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:07:49Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40612->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40612->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40279->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40279->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46496->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46496->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45056->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45056->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" - time="2023-07-27T20:07:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" - time="2023-07-27T20:07:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:49Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:07:49Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37050->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37050->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57075->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57075->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52441->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52441->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57041->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57041->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" - time="2023-07-27T20:07:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" - time="2023-07-27T20:07:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:49Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:49Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules546475500/artifact_info file." - time="2023-07-27T20:07:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules546475500/artifact_info" - time="2023-07-27T20:07:49Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:49Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.80s) + time="2023-07-27T20:16:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:16Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43917->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43917->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57931->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57931->[::1]:53: read: connection refused" + time="2023-07-27T20:16:16Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:16Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812499901/device_type" + time="2023-07-27T20:16:16Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:16Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:16Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules812499901/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812499901/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812499901/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812499901/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812499901/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules812499901/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812499901/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules812499901/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37739->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37739->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46162->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46162->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50533->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50533->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56389->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56389->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812499901/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules812499901/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812499901/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules812499901/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34228->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34228->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42817->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42817->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57106->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57106->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35030->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35030->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812499901/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules812499901/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:17Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43003->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43003->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46864->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46864->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37434->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37434->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55010->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55010->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812499901/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules812499901/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38151->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38151->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48583->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48583->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37922->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37922->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46624->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46624->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812499901/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules812499901/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812499901/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules812499901/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46772->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46772->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57958->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57958->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52924->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52924->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34164->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34164->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812499901/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules812499901/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812499901/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules812499901/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:17Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:17Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules812499901/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812499901/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot state_test.go:4717: Killed in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:49Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34871->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34871->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46878->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46878->[::1]:53: read: connection refused" - time="2023-07-27T20:07:49Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:49Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:49Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules750176069/device_type" - time="2023-07-27T20:07:49Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:49Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:49Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules750176069/artifact_info file." - time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules750176069/artifact_info" - time="2023-07-27T20:07:50Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:50Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules750176069/artifact_info" - time="2023-07-27T20:07:50Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules750176069/device_type" - time="2023-07-27T20:07:50Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:50Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" - time="2023-07-27T20:07:50Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:50Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38024->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38024->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60936->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60936->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58661->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58661->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54112->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54112->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" - time="2023-07-27T20:07:50Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:50Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:07:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38255->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38255->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33889->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33889->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37991->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37991->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58357->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58357->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:07:50Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39729->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39729->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49276->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49276->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules329219050/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules329219050/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules329219050/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules329219050/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules329219050/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329219050/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules329219050/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329219050/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules329219050/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46154->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46154->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57335->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57335->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39687->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39687->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47864->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47864->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329219050/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules329219050/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329219050/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules329219050/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55042->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55042->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41982->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41982->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47975->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47975->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39998->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39998->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329219050/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules329219050/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateVerifyRebootState) - time="2023-07-27T20:07:50Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:07:50Z" level=info msg="Handling loaded state: reboot" - time="2023-07-27T20:07:50Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:50Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" - time="2023-07-27T20:07:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:50Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:07:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48246->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48246->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60985->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60985->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37717->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37717->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34964->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34964->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" - time="2023-07-27T20:07:50Z" level=debug msg="Committing new artifact name: artifact-name" - time="2023-07-27T20:07:50Z" level=debug msg="Committing new artifact group name: " - time="2023-07-27T20:07:50Z" level=debug msg="Committing new artifact type-info provides" - time="2023-07-27T20:07:50Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2023-07-27T20:07:50Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2023-07-27T20:07:50Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:50Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" - time="2023-07-27T20:07:50Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2023-07-27T20:07:50Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:50Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:50Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.11s) + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:17Z" level=info msg="Handling loaded state: reboot" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329219050/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules329219050/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46646->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46646->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58893->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58893->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49036->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49036->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36126->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36126->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329219050/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules329219050/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Committing new artifact name: artifact-name" + time="2023-07-27T20:16:17Z" level=debug msg="Committing new artifact group name: " + time="2023-07-27T20:16:17Z" level=debug msg="Committing new artifact type-info provides" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules329219050/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules329219050/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:17Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot state_test.go:4717: Error in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33537->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33537->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58459->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58459->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:50Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:50Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812004370/device_type" - time="2023-07-27T20:07:50Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:50Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:50Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules812004370/artifact_info file." - time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812004370/artifact_info" - time="2023-07-27T20:07:50Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:50Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812004370/artifact_info" - time="2023-07-27T20:07:50Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812004370/device_type" - time="2023-07-27T20:07:50Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:50Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" - time="2023-07-27T20:07:50Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:50Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58786->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58786->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51069->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51069->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47984->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47984->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47503->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47503->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" - time="2023-07-27T20:07:50Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:50Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:07:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35853->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35853->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47156->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47156->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34269->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34269->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43726->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43726->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:07:50Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" - time="2023-07-27T20:07:50Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" - time="2023-07-27T20:07:50Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:50Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:50Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57066->[::1]:53: read: connection refused" - time="2023-07-27T20:07:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57066->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40551->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40551->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45776->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45776->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44601->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44601->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:07:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34151->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34151->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53300->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53300->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36355->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36355->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36671->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36671->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:51Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:07:51Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51167->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51167->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39864->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39864->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33338->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33338->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51151->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51151->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:51Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:51Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules812004370/artifact_info file." - time="2023-07-27T20:07:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812004370/artifact_info" - time="2023-07-27T20:07:51Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:51Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.59s) + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37291->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37291->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55336->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55336->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules455920667/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules455920667/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules455920667/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules455920667/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules455920667/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules455920667/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules455920667/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules455920667/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules455920667/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50931->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50931->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45173->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45173->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40339->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40339->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57323->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57323->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules455920667/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules455920667/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules455920667/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules455920667/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50012->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50012->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32869->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32869->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49748->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49748->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32841->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32841->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules455920667/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules455920667/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules455920667/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules455920667/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:17Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55473->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55473->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47970->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47970->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60978->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60978->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36559->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36559->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules455920667/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules455920667/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41441->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41441->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50887->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50887->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46715->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46715->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44723->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44723->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules455920667/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules455920667/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules455920667/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules455920667/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57325->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57325->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52802->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52802->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57385->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57385->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57975->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57975->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules455920667/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules455920667/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules455920667/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules455920667/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:17Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:17Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules455920667/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules455920667/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot state_test.go:4717: Killed in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55710->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55710->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40387->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40387->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:51Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:51Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496680803/device_type" - time="2023-07-27T20:07:51Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:51Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:51Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules496680803/artifact_info file." - time="2023-07-27T20:07:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496680803/artifact_info" - time="2023-07-27T20:07:51Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:51Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496680803/artifact_info" - time="2023-07-27T20:07:51Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496680803/device_type" - time="2023-07-27T20:07:51Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:51Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:51Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48767->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48767->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46162->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46162->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54176->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54176->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43054->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43054->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:51Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:07:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40520->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40520->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59692->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59692->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54313->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54313->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33767->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33767->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:07:51Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38263->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38263->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46659->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46659->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules193712288/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules193712288/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules193712288/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules193712288/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules193712288/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules193712288/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules193712288/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules193712288/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules193712288/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33410->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33410->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54929->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54929->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36494->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36494->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49542->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49542->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules193712288/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules193712288/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules193712288/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules193712288/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50999->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50999->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49643->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49643->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36089->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36089->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60675->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60675->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules193712288/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules193712288/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules193712288/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules193712288/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 6 (*app.updateRollbackState) - time="2023-07-27T20:07:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:07:51Z" level=info msg="Handling loaded state: after-reboot" - time="2023-07-27T20:07:51Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:51Z" level=error msg="Mender shut down in state: after-reboot" - time="2023-07-27T20:07:51Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:51Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42256->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42256->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56827->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56827->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:07:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34755->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34755->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42133->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42133->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39481->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39481->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51195->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51195->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:51Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:07:51Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54937->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54937->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53899->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53899->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39958->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39958->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46587->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46587->[::1]:53: read: connection refused" - time="2023-07-27T20:07:51Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" - time="2023-07-27T20:07:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:51Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:51Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:51Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules496680803/artifact_info file." - time="2023-07-27T20:07:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496680803/artifact_info" - time="2023-07-27T20:07:51Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:51Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.28s) + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:17Z" level=info msg="Handling loaded state: after-reboot" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=error msg="Mender shut down in state: after-reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:17Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57374->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57374->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60680->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60680->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules193712288/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules193712288/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52938->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52938->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60213->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60213->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36823->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36823->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40590->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40590->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules193712288/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules193712288/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules193712288/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules193712288/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35760->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35760->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45620->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45620->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32886->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32886->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46802->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46802->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules193712288/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules193712288/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules193712288/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules193712288/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:17Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:17Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules193712288/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules193712288/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" 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="2023-07-27T20:07:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45852->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45852->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50221->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50221->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:52Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:52Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules569058696/device_type" - time="2023-07-27T20:07:52Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:52Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:52Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules569058696/artifact_info file." - time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules569058696/artifact_info" - time="2023-07-27T20:07:52Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:52Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules569058696/artifact_info" - time="2023-07-27T20:07:52Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules569058696/device_type" - time="2023-07-27T20:07:52Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:52Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" - time="2023-07-27T20:07:52Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:52Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47037->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47037->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39005->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39005->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54338->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54338->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57239->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57239->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" - time="2023-07-27T20:07:52Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:52Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:07:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43265->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43265->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34219->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34219->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38028->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38028->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46238->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46238->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:07:52Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" - time="2023-07-27T20:07:52Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" - time="2023-07-27T20:07:52Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:52Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:52Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:52Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42300->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42300->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52485->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52485->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37669->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37669->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55689->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55689->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" - time="2023-07-27T20:07:52Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:52Z" level=error msg="Rollback failed: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:52Z" level=error msg="fatal error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:52Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2023-07-27T20:07:52Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57775->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57775->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57499->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57499->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54728->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54728->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54725->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54725->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" - time="2023-07-27T20:07:52Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" - time="2023-07-27T20:07:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:52Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:52Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:52Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.59s) + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36264->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36264->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45660->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45660->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules723731977/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules723731977/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules723731977/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules723731977/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules723731977/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules723731977/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules723731977/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules723731977/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules723731977/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43073->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43073->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33801->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33801->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50999->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50999->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37350->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37350->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules723731977/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules723731977/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules723731977/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules723731977/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43877->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43877->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51554->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51554->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38327->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38327->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35772->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35772->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules723731977/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules723731977/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules723731977/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules723731977/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:17Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33270->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33270->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50246->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50246->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43829->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43829->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33300->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33300->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules723731977/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules723731977/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=error msg="Rollback failed: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=error msg="fatal error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55283->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55283->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48934->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48934->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38792->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38792->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37589->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37589->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules723731977/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules723731977/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules723731977/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules723731977/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:17Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:17Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback state_test.go:4717: Killed in ArtifactRollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40651->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40651->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52150->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52150->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:52Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:52Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252990225/device_type" - time="2023-07-27T20:07:52Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:52Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:52Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules252990225/artifact_info file." - time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252990225/artifact_info" - time="2023-07-27T20:07:52Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:52Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252990225/artifact_info" - time="2023-07-27T20:07:52Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252990225/device_type" - time="2023-07-27T20:07:52Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:52Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" - time="2023-07-27T20:07:52Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:52Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51158->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51158->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37153->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37153->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54266->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54266->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52119->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52119->[::1]:53: read: connection refused" - time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" - time="2023-07-27T20:07:53Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:53Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:07:53Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48275->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48275->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53504->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53504->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41111->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41111->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60940->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60940->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:07:53Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" - time="2023-07-27T20:07:53Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" - time="2023-07-27T20:07:53Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:53Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:53Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:53Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38117->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38117->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33384->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33384->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40668->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40668->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41132->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41132->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41308->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41308->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55040->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55040->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules922353702/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules922353702/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules922353702/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules922353702/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules922353702/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules922353702/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules922353702/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules922353702/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules922353702/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57385->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57385->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39830->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39830->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50513->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50513->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51845->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51845->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules922353702/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules922353702/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules922353702/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules922353702/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51216->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51216->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55059->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55059->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54881->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54881->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51872->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51872->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules922353702/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules922353702/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules922353702/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules922353702/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:17Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51941->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51941->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54326->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54326->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39177->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39177->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34964->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34964->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules922353702/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules922353702/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 7 (*app.updateRollbackState) - time="2023-07-27T20:07:53Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:07:53Z" level=info msg="Handling loaded state: rollback" - time="2023-07-27T20:07:53Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:53Z" level=error msg="Mender shut down in state: rollback" - time="2023-07-27T20:07:53Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:53Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59843->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59843->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53296->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53296->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" - time="2023-07-27T20:07:53Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:07:53Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38160->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38160->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60926->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60926->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49527->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49527->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54723->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54723->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" - time="2023-07-27T20:07:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" - time="2023-07-27T20:07:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:53Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:07:53Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42911->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42911->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35103->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35103->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54630->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54630->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33911->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33911->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" - time="2023-07-27T20:07:53Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" - time="2023-07-27T20:07:53Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:53Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:53Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules252990225/artifact_info file." - time="2023-07-27T20:07:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252990225/artifact_info" - time="2023-07-27T20:07:53Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:53Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.23s) + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:17Z" level=info msg="Handling loaded state: rollback" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=error msg="Mender shut down in state: rollback" + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:17Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57957->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57957->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54259->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54259->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules922353702/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules922353702/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33994->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33994->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51433->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51433->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37607->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37607->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47714->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47714->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules922353702/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules922353702/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules922353702/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules922353702/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36443->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36443->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47210->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47210->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53332->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53332->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39661->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39661->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules922353702/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules922353702/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules922353702/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules922353702/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:17Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:17Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules922353702/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules922353702/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot state_test.go:4717: Error in ArtifactRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:53Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:53Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53946->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53946->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58187->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58187->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:53Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:53Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:53Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules081482190/device_type" - time="2023-07-27T20:07:53Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:53Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:53Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules081482190/artifact_info file." - time="2023-07-27T20:07:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules081482190/artifact_info" - time="2023-07-27T20:07:53Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:53Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules081482190/artifact_info" - time="2023-07-27T20:07:53Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules081482190/device_type" - time="2023-07-27T20:07:53Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:53Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" - time="2023-07-27T20:07:53Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:53Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:53Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:53Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44991->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44991->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45341->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45341->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53965->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53965->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52859->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52859->[::1]:53: read: connection refused" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" - time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:54Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:07:54Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47298->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47298->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55020->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55020->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40527->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40527->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37269->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37269->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:07:54Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:54Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:54Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:54Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59957->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59957->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42604->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42604->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41020->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41020->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34549->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34549->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:07:54Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39534->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39534->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45371->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45371->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51216->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51216->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43090->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43090->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:54Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:54Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:54Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:07:54Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56055->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56055->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58267->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58267->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50457->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50457->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36346->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36346->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:54Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:54Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:54Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules081482190/artifact_info file." - time="2023-07-27T20:07:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules081482190/artifact_info" - time="2023-07-27T20:07:54Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:54Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.73s) + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47672->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47672->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41069->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41069->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045544199/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules045544199/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045544199/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045544199/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045544199/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045544199/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules045544199/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045544199/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules045544199/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58319->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58319->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48206->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48206->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51543->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51543->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47566->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47566->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045544199/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules045544199/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045544199/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules045544199/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45483->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45483->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42634->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42634->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44723->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44723->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47180->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47180->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045544199/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules045544199/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045544199/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules045544199/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:17Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33181->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33181->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50082->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50082->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53867->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53867->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49338->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49338->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045544199/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules045544199/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42718->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42718->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48203->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48203->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39585->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39585->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37149->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37149->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045544199/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules045544199/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045544199/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules045544199/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54251->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54251->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57627->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57627->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54780->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54780->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52000->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52000->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045544199/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules045544199/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045544199/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules045544199/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:17Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:17Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules045544199/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045544199/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot state_test.go:4717: Killed in ArtifactRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:54Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:54Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43056->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43056->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60518->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60518->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:54Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:54Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:54Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules633048015/device_type" - time="2023-07-27T20:07:54Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:54Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:54Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:54Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:54Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules633048015/artifact_info file." - time="2023-07-27T20:07:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules633048015/artifact_info" - time="2023-07-27T20:07:54Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:54Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules633048015/artifact_info" - time="2023-07-27T20:07:54Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules633048015/device_type" - time="2023-07-27T20:07:54Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:54Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:54Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:54Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:54Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:54Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36031->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36031->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37652->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37652->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60297->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60297->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47799->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47799->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:54Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:07:54Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46278->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46278->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54191->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54191->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34098->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34098->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60374->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60374->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:07:54Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" - time="2023-07-27T20:07:54Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:54Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:54Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:54Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57448->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57448->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39429->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39429->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37347->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37347->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39949->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39949->[::1]:53: read: connection refused" - time="2023-07-27T20:07:54Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" - time="2023-07-27T20:07:55Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:07:55Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:55Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47868->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47868->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34106->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34106->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:55Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42856->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42856->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49150->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49150->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39625->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39625->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46174->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46174->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256430076/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules256430076/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256430076/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256430076/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256430076/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256430076/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules256430076/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256430076/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules256430076/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55477->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55477->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43108->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43108->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53007->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53007->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43382->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43382->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256430076/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules256430076/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256430076/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules256430076/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38213->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38213->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56754->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56754->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45128->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45128->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56530->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56530->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256430076/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules256430076/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256430076/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules256430076/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:17Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42125->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42125->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60148->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60148->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54208->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54208->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34058->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34058->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256430076/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules256430076/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47064->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47064->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36422->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36422->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58435->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58435->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52468->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52468->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256430076/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules256430076/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateVerifyRollbackRebootState) - time="2023-07-27T20:07:55Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:07:55Z" level=info msg="Handling loaded state: rollback-reboot" - time="2023-07-27T20:07:55Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:55Z" level=info msg="Mender shut down in state: rollback-reboot" - time="2023-07-27T20:07:55Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:55Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" - time="2023-07-27T20:07:55Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:55Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:07:55Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:55Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43566->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43566->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39950->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39950->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:55Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41919->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41919->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55441->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55441->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" - time="2023-07-27T20:07:55Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:55Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:55Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" - time="2023-07-27T20:07:55Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:55Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:55Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:55Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules633048015/artifact_info file." - time="2023-07-27T20:07:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules633048015/artifact_info" - time="2023-07-27T20:07:55Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:55Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.14s) + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:17Z" level=info msg="Handling loaded state: rollback-reboot" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=info msg="Mender shut down in state: rollback-reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256430076/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules256430076/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39350->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39350->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46980->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46980->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57818->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57818->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57106->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57106->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256430076/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules256430076/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules256430076/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules256430076/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:17Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:17Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules256430076/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules256430076/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot state_test.go:4717: Error in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:55Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:55Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:55Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:55Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56819->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56819->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49215->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49215->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:55Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:55Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:55Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513646692/device_type" - time="2023-07-27T20:07:55Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:55Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:55Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:55Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules513646692/artifact_info file." - time="2023-07-27T20:07:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513646692/artifact_info" - time="2023-07-27T20:07:55Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:55Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513646692/artifact_info" - time="2023-07-27T20:07:55Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513646692/device_type" - time="2023-07-27T20:07:55Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:55Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:55Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" - time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" - time="2023-07-27T20:07:55Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:55Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:55Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:55Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:55Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56181->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56181->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59276->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59276->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:55Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57887->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57887->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54100->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54100->[::1]:53: read: connection refused" - time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:56Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:07:56Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52507->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52507->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60433->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60433->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56713->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56713->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46427->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46427->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:07:56Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:56Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:56Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:56Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46052->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46052->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38508->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38508->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33115->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33115->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60572->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60572->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:07:56Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55562->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55562->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51554->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51554->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52128->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52128->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39548->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39548->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:56Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:56Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52474->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52474->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53735->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53735->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35617->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35617->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39588->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39588->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:56Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:07:56Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59908->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59908->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49214->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49214->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56665->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56665->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40761->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40761->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:56Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:56Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules513646692/artifact_info file." - time="2023-07-27T20:07:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513646692/artifact_info" - time="2023-07-27T20:07:56Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:56Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (1.21s) + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53243->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53243->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39861->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39861->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules115511445/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules115511445/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules115511445/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules115511445/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules115511445/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules115511445/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules115511445/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules115511445/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules115511445/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55170->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55170->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45254->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45254->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42887->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42887->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51375->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51375->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules115511445/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules115511445/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules115511445/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules115511445/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55025->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55025->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46663->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46663->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60800->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60800->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34393->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34393->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules115511445/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules115511445/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules115511445/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules115511445/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:17Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57755->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57755->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45280->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45280->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47137->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47137->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59003->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59003->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules115511445/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules115511445/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57526->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57526->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58143->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58143->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37288->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37288->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39201->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39201->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules115511445/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules115511445/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules115511445/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules115511445/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36873->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36873->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43605->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43605->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60820->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60820->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34821->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34821->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules115511445/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules115511445/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules115511445/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules115511445/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37345->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37345->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56847->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56847->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46264->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46264->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51489->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51489->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules115511445/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules115511445/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules115511445/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules115511445/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:17Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:17Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules115511445/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules115511445/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.09s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot state_test.go:4717: Killed in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:56Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:56Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39563->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39563->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55371->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55371->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:56Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:56Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:56Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules913674525/device_type" - time="2023-07-27T20:07:56Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:56Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:56Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:56Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules913674525/artifact_info file." - time="2023-07-27T20:07:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules913674525/artifact_info" - time="2023-07-27T20:07:56Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:56Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules913674525/artifact_info" - time="2023-07-27T20:07:56Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules913674525/device_type" - time="2023-07-27T20:07:56Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:56Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:56Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:56Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:56Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:56Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60303->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60303->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50824->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50824->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57103->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57103->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55798->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55798->[::1]:53: read: connection refused" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" - time="2023-07-27T20:07:56Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:56Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:07:56Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34116->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34116->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37463->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37463->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47610->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47610->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45946->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45946->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:07:57Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" - time="2023-07-27T20:07:57Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" - time="2023-07-27T20:07:57Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:57Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:57Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:57Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52100->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52100->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49708->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49708->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44618->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44618->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50449->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50449->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" - time="2023-07-27T20:07:57Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:07:57Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36034->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36034->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36290->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36290->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55681->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55681->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49001->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49001->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" - time="2023-07-27T20:07:57Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41978->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41978->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45802->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45802->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules891963810/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules891963810/artifact_info file." + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules891963810/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules891963810/artifact_info" + time="2023-07-27T20:16:17Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules891963810/device_type" + time="2023-07-27T20:16:17Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891963810/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules891963810/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891963810/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules891963810/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49125->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49125->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43174->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43174->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46067->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46067->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42005->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42005->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891963810/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules891963810/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891963810/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules891963810/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:17Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35394->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35394->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34971->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34971->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44239->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44239->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56693->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56693->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891963810/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules891963810/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891963810/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules891963810/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:17Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60637->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60637->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37168->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37168->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42557->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42557->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49753->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49753->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891963810/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules891963810/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45494->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45494->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34838->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34838->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40626->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40626->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47056->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47056->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891963810/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules891963810/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891963810/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules891963810/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 9 (*app.updateVerifyRollbackRebootState) - time="2023-07-27T20:07:57Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:07:57Z" level=info msg="Handling loaded state: verify-rollback-reboot" - time="2023-07-27T20:07:57Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:57Z" level=error msg="Mender shut down in state: verify-rollback-reboot" - time="2023-07-27T20:07:57Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:57Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" - time="2023-07-27T20:07:57Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:57Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:07:57Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57004->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57004->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42852->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42852->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54182->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54182->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32807->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32807->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" - time="2023-07-27T20:07:57Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" - time="2023-07-27T20:07:57Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:57Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:57Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules913674525/artifact_info file." - time="2023-07-27T20:07:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules913674525/artifact_info" - time="2023-07-27T20:07:57Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:57Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.22s) + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:17Z" level=info msg="Handling loaded state: verify-rollback-reboot" + time="2023-07-27T20:16:17Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:17Z" level=error msg="Mender shut down in state: verify-rollback-reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891963810/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules891963810/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:17Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56748->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56748->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42779->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42779->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43110->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43110->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47664->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47664->[::1]:53: read: connection refused" + time="2023-07-27T20:16:17Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891963810/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules891963810/work/payloads/0000/tree" + time="2023-07-27T20:16:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:17Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules891963810/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules891963810/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:18Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules891963810/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules891963810/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" 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="2023-07-27T20:07:57Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:57Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42484->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42484->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52791->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52791->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:57Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:57Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:57Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules427981514/device_type" - time="2023-07-27T20:07:57Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:57Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:57Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:57Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules427981514/artifact_info file." - time="2023-07-27T20:07:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules427981514/artifact_info" - time="2023-07-27T20:07:57Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:57Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules427981514/artifact_info" - time="2023-07-27T20:07:57Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules427981514/device_type" - time="2023-07-27T20:07:57Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:57Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:57Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules427981514/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules427981514/work/payloads/0000/tree" - time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules427981514/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules427981514/work/payloads/0000/tree" - time="2023-07-27T20:07:57Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:57Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:57Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:57Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:57Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40453->[::1]:53: read: connection refused" - time="2023-07-27T20:07:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40453->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56092->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56092->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56868->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56868->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43749->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43749->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules427981514/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules427981514/work/payloads/0000/tree" - time="2023-07-27T20:07:58Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:58Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:58Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:58Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48132->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48132->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51520->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51520->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34626->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34626->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60885->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60885->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules427981514/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules427981514/work/payloads/0000/tree" - time="2023-07-27T20:07:58Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48125->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48125->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53617->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53617->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47428->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47428->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37002->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37002->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules427981514/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules427981514/work/payloads/0000/tree" - time="2023-07-27T20:07:58Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:58Z" level=error msg="ArtifactFailure failed: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:58Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules427981514/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules427981514/work/payloads/0000/tree" - time="2023-07-27T20:07:58Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:58Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:58Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:58Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules427981514/artifact_info file." - time="2023-07-27T20:07:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules427981514/artifact_info" - time="2023-07-27T20:07:58Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:58Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.46s) + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38303->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38303->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57566->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57566->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules121775155/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules121775155/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules121775155/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules121775155/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules121775155/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules121775155/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules121775155/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules121775155/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules121775155/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:18Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44795->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44795->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57883->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57883->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36073->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36073->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46913->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46913->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules121775155/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules121775155/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:18Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45473->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45473->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44481->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44481->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39255->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39255->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42206->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42206->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules121775155/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules121775155/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55835->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55835->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44525->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44525->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51096->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51096->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51017->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51017->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules121775155/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules121775155/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=error msg="ArtifactFailure failed: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules121775155/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules121775155/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:18Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules121775155/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules121775155/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure state_test.go:4717: Killed in ArtifactFailure state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:58Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:58Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59282->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59282->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36609->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36609->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:58Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:58Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:58Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules874505339/device_type" - time="2023-07-27T20:07:58Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:58Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:58Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:58Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:58Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules874505339/artifact_info file." - time="2023-07-27T20:07:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules874505339/artifact_info" - time="2023-07-27T20:07:58Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:58Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules874505339/artifact_info" - time="2023-07-27T20:07:58Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules874505339/device_type" - time="2023-07-27T20:07:58Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:58Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:58Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules874505339/work/payloads/0000/tree" - time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules874505339/work/payloads/0000/tree" - time="2023-07-27T20:07:58Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:58Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:58Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:58Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41213->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41213->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33404->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33404->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48081->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48081->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38663->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38663->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules874505339/work/payloads/0000/tree" - time="2023-07-27T20:07:58Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:58Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:58Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:58Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55354->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55354->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60256->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60256->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55352->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55352->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58011->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58011->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules874505339/work/payloads/0000/tree" - time="2023-07-27T20:07:58Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54575->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54575->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40974->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40974->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44610->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44610->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55640->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55640->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules874505339/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49284->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49284->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41415->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41415->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules117610136/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules117610136/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules117610136/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules117610136/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules117610136/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules117610136/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules117610136/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules117610136/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules117610136/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:18Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42081->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42081->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43461->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43461->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57811->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57811->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51609->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51609->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules117610136/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules117610136/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:18Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40546->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40546->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40273->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40273->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47014->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47014->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36244->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36244->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules117610136/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules117610136/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55023->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55023->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36282->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36282->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41678->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41678->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53484->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53484->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules117610136/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules117610136/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 6 (*app.updateErrorState) - time="2023-07-27T20:07:58Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:07:58Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:07:58Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:58Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:07:58Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:58Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52526->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52526->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56410->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56410->[::1]:53: read: connection refused" - time="2023-07-27T20:07:58Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules874505339/work/payloads/0000/tree" - time="2023-07-27T20:07:58Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:58Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules874505339/work/payloads/0000/tree" - time="2023-07-27T20:07:59Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:59Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:59Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules874505339/artifact_info file." - time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules874505339/artifact_info" - time="2023-07-27T20:07:59Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.08s) + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:18Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:18Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53320->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53320->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38894->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38894->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules117610136/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules117610136/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules117610136/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules117610136/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:18Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules117610136/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules117610136/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Cleanup state_test.go:4717: Error in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:59Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:59Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39966->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39966->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33854->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33854->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:59Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:59Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:59Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules740764800/device_type" - time="2023-07-27T20:07:59Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:59Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:59Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules740764800/artifact_info file." - time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules740764800/artifact_info" - time="2023-07-27T20:07:59Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules740764800/artifact_info" - time="2023-07-27T20:07:59Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules740764800/device_type" - time="2023-07-27T20:07:59Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" - time="2023-07-27T20:07:59Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:59Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:07:59Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:07:59Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36627->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36627->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58093->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58093->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34531->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34531->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40014->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40014->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" - time="2023-07-27T20:07:59Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:07:59Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:07:59Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33900->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33900->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53279->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53279->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49900->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49900->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43287->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43287->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:07:59Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" - time="2023-07-27T20:07:59Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" - time="2023-07-27T20:07:59Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:59Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:59Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:07:59Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41391->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41391->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38276->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38276->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60431->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60431->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48326->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48326->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=info msg="Performing rollback" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" - time="2023-07-27T20:07:59Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:07:59Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50652->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50652->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48781->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48781->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47720->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47720->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41238->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41238->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" - time="2023-07-27T20:07:59Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" - time="2023-07-27T20:07:59Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:07:59Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:07:59Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44971->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44971->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54155->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54155->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41496->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41496->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54911->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54911->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=debug msg="Handle update error state" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" - time="2023-07-27T20:07:59Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" - time="2023-07-27T20:07:59Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:59Z" level=error msg="Cleanup failed: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:07:59Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:07:59Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:07:59Z" level=debug msg="Reporting complete" - time="2023-07-27T20:07:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules740764800/artifact_info file." - time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules740764800/artifact_info" - time="2023-07-27T20:07:59Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.65s) + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59816->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59816->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52606->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52606->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules273292641/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules273292641/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules273292641/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules273292641/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules273292641/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273292641/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules273292641/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273292641/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules273292641/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:18Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36125->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36125->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51691->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51691->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52239->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52239->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48232->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48232->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273292641/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules273292641/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273292641/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules273292641/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:18Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58725->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58725->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37387->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37387->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36437->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36437->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38890->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38890->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:18Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273292641/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules273292641/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273292641/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules273292641/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:18Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54322->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54322->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40895->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40895->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44370->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44370->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50476->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50476->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273292641/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules273292641/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43034->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43034->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55190->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55190->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42641->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42641->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56559->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56559->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273292641/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules273292641/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273292641/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules273292641/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:18Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56546->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56546->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41382->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41382->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59090->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59090->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36178->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36178->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273292641/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules273292641/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273292641/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules273292641/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=error msg="Cleanup failed: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:18Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules273292641/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules273292641/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Cleanup state_test.go:4717: Killed in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:07:59Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Handle update check state" - time="2023-07-27T20:07:59Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:07:59Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40930->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40930->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40272->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40272->[::1]:53: read: connection refused" - time="2023-07-27T20:07:59Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:07:59Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:07:59Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:07:59Z" level=debug msg="Handling update install state" - time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules939369321/device_type" - time="2023-07-27T20:07:59Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:07:59Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:07:59Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:07:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules939369321/artifact_info file." - time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules939369321/artifact_info" - time="2023-07-27T20:07:59Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules939369321/artifact_info" - time="2023-07-27T20:07:59Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules939369321/device_type" - time="2023-07-27T20:07:59Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:00Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" - time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" - time="2023-07-27T20:08:00Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:00Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:00Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:00Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:00Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32778->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32778->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45553->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45553->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50047->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50047->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46824->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46824->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" - time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" - time="2023-07-27T20:08:00Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:00Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:00Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54399->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54399->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47731->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47731->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43419->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43419->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34930->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34930->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:00Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" - time="2023-07-27T20:08:00Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" - time="2023-07-27T20:08:00Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:00Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:00Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:00Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55728->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55728->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37226->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37226->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56240->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56240->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34323->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34323->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" - time="2023-07-27T20:08:00Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:00Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33003->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33003->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33721->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33721->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34916->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34916->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34750->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34750->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" - time="2023-07-27T20:08:00Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" - time="2023-07-27T20:08:00Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:00Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:00Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39082->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39082->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33524->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33524->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56909->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56909->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42585->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42585->[::1]:53: read: connection refused" - time="2023-07-27T20:08:00Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" - time="2023-07-27T20:08:00Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:00Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39647->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39647->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42419->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42419->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411069022/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules411069022/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411069022/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411069022/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411069022/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411069022/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules411069022/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411069022/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules411069022/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:18Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47305->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47305->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51272->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51272->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44045->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44045->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34664->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34664->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411069022/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules411069022/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411069022/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules411069022/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:18Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34347->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34347->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59685->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59685->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47638->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47638->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36633->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36633->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:18Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411069022/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules411069022/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411069022/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules411069022/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:18Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60715->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60715->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57931->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57931->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47954->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47954->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44006->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44006->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411069022/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules411069022/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36231->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36231->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38743->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38743->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41244->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41244->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48666->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48666->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411069022/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules411069022/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411069022/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules411069022/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:18Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32956->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32956->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60565->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60565->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54713->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54713->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49272->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49272->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411069022/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules411069022/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411069022/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules411069022/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 12 (*app.updateCleanupState) - time="2023-07-27T20:08:01Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:01Z" level=info msg="Handling loaded state: cleanup" - time="2023-07-27T20:08:01Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:01Z" level=error msg="Mender shut down in state: cleanup" - time="2023-07-27T20:08:01Z" level=info msg="State transition: init [none] -> cleanup [Error]" - time="2023-07-27T20:08:01Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:01Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:01Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules939369321/artifact_info file." - time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules939369321/artifact_info" - time="2023-07-27T20:08:01Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.04s) + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:18Z" level=info msg="Handling loaded state: cleanup" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=error msg="Mender shut down in state: cleanup" + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> cleanup [Error]" + time="2023-07-27T20:16:18Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411069022/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules411069022/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:18Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules411069022/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules411069022/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.00s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit state_test.go:4717: Error in ArtifactCommit state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:01Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:01Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44186->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44186->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46643->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46643->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:01Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:01Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:01Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules048399622/device_type" - time="2023-07-27T20:08:01Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:01Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:01Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules048399622/artifact_info file." - time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules048399622/artifact_info" - time="2023-07-27T20:08:01Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules048399622/artifact_info" - time="2023-07-27T20:08:01Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules048399622/device_type" - time="2023-07-27T20:08:01Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:01Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:01Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:01Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32910->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32910->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33736->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33736->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34193->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34193->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59571->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59571->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:01Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:01Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47497->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47497->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46292->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46292->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33854->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33854->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36553->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36553->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:01Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:01Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:08:01Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43921->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43921->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49720->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49720->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52837->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52837->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41658->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41658->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:01Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:01Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:01Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58860->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58860->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53077->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53077->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45242->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45242->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52817->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52817->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:01Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46156->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46156->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48316->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48316->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53373->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53373->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59017->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59017->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:01Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:01Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50870->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50870->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57329->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57329->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59213->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59213->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43686->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43686->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:01Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:01Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules048399622/artifact_info file." - time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules048399622/artifact_info" - time="2023-07-27T20:08:01Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.51s) + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53759->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53759->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46249->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46249->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules568124831/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules568124831/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules568124831/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules568124831/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules568124831/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568124831/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules568124831/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568124831/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules568124831/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:18Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41301->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41301->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51899->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51899->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39549->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39549->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38250->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38250->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568124831/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules568124831/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568124831/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules568124831/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:18Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33253->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33253->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50864->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50864->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57727->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57727->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58642->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58642->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:18Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568124831/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules568124831/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568124831/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules568124831/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39581->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39581->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54638->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54638->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34887->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34887->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56611->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56611->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568124831/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules568124831/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:18Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42415->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42415->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53638->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53638->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58992->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58992->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51798->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51798->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568124831/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules568124831/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54136->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54136->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54077->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54077->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41973->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41973->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59407->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59407->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568124831/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules568124831/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568124831/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules568124831/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:18Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35537->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35537->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58022->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58022->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36730->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36730->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42302->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42302->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568124831/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules568124831/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568124831/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules568124831/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:18Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules568124831/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules568124831/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.09s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit state_test.go:4717: Killed in ArtifactCommit state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:01Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:01Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40475->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40475->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35939->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35939->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:01Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:01Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:01Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719620967/device_type" - time="2023-07-27T20:08:01Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:01Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:01Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules719620967/artifact_info file." - time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719620967/artifact_info" - time="2023-07-27T20:08:01Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719620967/artifact_info" - time="2023-07-27T20:08:01Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719620967/device_type" - time="2023-07-27T20:08:01Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:01Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:01Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:01Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:01Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57682->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57682->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33589->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33589->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37072->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37072->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60635->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60635->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:01Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:01Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53760->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53760->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51778->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51778->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52385->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52385->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57860->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57860->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:01Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" - time="2023-07-27T20:08:01Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:01Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:08:01Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48290->[::1]:53: read: connection refused" - time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48290->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38922->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38922->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48725->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48725->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50086->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50086->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33929->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33929->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39488->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39488->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules863228020/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules863228020/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules863228020/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules863228020/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules863228020/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules863228020/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules863228020/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules863228020/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules863228020/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:18Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40356->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40356->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45065->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45065->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51787->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51787->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47182->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47182->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules863228020/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules863228020/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules863228020/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules863228020/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:18Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41999->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41999->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59445->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59445->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39183->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39183->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38469->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38469->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:18Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules863228020/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules863228020/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules863228020/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules863228020/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43134->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43134->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49750->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49750->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54772->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54772->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38421->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38421->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules863228020/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules863228020/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2023-07-27T20:08:02Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:02Z" level=info msg="Handling loaded state: update-commit" - time="2023-07-27T20:08:02Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:02Z" level=error msg="Mender shut down in state: update-commit" - time="2023-07-27T20:08:02Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:02Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40306->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40306->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60204->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60204->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" - time="2023-07-27T20:08:02Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:02Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57744->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57744->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57633->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57633->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39751->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39751->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40221->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40221->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" - time="2023-07-27T20:08:02Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" - time="2023-07-27T20:08:02Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:02Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:02Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39817->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39817->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47122->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47122->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38891->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38891->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49252->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49252->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" - time="2023-07-27T20:08:02Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" - time="2023-07-27T20:08:02Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:02Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:02Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules719620967/artifact_info file." - time="2023-07-27T20:08:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719620967/artifact_info" - time="2023-07-27T20:08:02Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:02Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.24s) + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:18Z" level=info msg="Handling loaded state: update-commit" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=error msg="Mender shut down in state: update-commit" + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:18Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50909->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50909->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49131->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49131->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules863228020/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules863228020/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51906->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51906->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52237->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52237->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35281->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35281->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38162->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38162->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules863228020/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules863228020/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules863228020/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules863228020/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:18Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45948->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45948->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34254->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34254->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59821->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59821->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48962->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48962->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules863228020/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules863228020/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules863228020/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules863228020/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:18Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules863228020/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules863228020/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot state_test.go:4717: Error in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:02Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:02Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37172->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37172->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41874->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41874->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:02Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:02Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:02Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules916369884/device_type" - time="2023-07-27T20:08:02Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:02Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:02Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:02Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules916369884/artifact_info file." - time="2023-07-27T20:08:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules916369884/artifact_info" - time="2023-07-27T20:08:02Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:02Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules916369884/artifact_info" - time="2023-07-27T20:08:02Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules916369884/device_type" - time="2023-07-27T20:08:02Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:02Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:02Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" - time="2023-07-27T20:08:02Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:02Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:02Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:02Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56646->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56646->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50282->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50282->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45764->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45764->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41242->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41242->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" - time="2023-07-27T20:08:02Z" level=debug msg="Update module output: No" - time="2023-07-27T20:08:02Z" level=debug msg="Module does not need reboot" - time="2023-07-27T20:08:02Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44462->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44462->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39251->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39251->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51940->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51940->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39657->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39657->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" - time="2023-07-27T20:08:02Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:02Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:02Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:02Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48559->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48559->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53834->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53834->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34357->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34357->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48967->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48967->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" - time="2023-07-27T20:08:02Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41692->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41692->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38964->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38964->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32793->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32793->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42939->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42939->[::1]:53: read: connection refused" - time="2023-07-27T20:08:02Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" - time="2023-07-27T20:08:02Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" - time="2023-07-27T20:08:02Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:02Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:02Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules916369884/artifact_info file." - time="2023-07-27T20:08:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules916369884/artifact_info" - time="2023-07-27T20:08:02Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:02Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.46s) + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33338->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33338->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51652->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51652->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules043292781/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules043292781/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules043292781/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules043292781/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules043292781/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules043292781/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules043292781/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules043292781/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules043292781/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:18Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58046->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58046->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48256->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48256->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51419->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51419->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46580->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46580->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules043292781/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules043292781/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules043292781/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules043292781/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:18Z" level=debug msg="Module does not need reboot" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43138->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43138->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50950->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50950->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39390->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39390->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53364->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53364->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules043292781/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules043292781/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:18Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57268->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57268->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40172->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40172->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46146->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46146->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37642->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37642->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules043292781/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules043292781/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56451->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56451->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39964->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39964->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58095->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58095->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52621->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52621->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules043292781/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules043292781/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules043292781/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules043292781/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:18Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules043292781/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules043292781/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot state_test.go:4717: Killed in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:02Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:02Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:02Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34464->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34464->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55633->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55633->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:03Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:03Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:03Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules940094965/device_type" - time="2023-07-27T20:08:03Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:03Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:03Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:03Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:03Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules940094965/artifact_info file." - time="2023-07-27T20:08:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules940094965/artifact_info" - time="2023-07-27T20:08:03Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:03Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules940094965/artifact_info" - time="2023-07-27T20:08:03Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules940094965/device_type" - time="2023-07-27T20:08:03Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:03Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:03Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" - time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" - time="2023-07-27T20:08:03Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:03Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:03Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:03Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37840->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37840->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53916->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53916->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45615->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45615->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55370->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55370->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" - time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" - time="2023-07-27T20:08:03Z" level=debug msg="Update module output: No" - time="2023-07-27T20:08:03Z" level=debug msg="Module does not need reboot" - time="2023-07-27T20:08:03Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37435->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37435->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45078->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45078->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49154->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49154->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40377->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40377->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37457->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37457->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52900->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52900->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules524658266/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules524658266/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules524658266/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules524658266/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules524658266/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules524658266/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules524658266/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules524658266/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules524658266/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:18Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54248->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54248->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47592->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47592->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43548->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43548->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46340->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46340->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules524658266/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules524658266/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules524658266/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules524658266/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:18Z" level=debug msg="Module does not need reboot" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55974->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55974->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34198->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34198->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51678->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51678->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40869->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40869->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules524658266/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules524658266/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateRollbackState) - time="2023-07-27T20:08:03Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:03Z" level=info msg="Handling loaded state: update-commit" - time="2023-07-27T20:08:03Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:03Z" level=error msg="Mender shut down in state: update-commit" - time="2023-07-27T20:08:03Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:03Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47868->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47868->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38147->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38147->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" - time="2023-07-27T20:08:03Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41062->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41062->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51549->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51549->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35194->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35194->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40836->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40836->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" - time="2023-07-27T20:08:03Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" - time="2023-07-27T20:08:03Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:03Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:03Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:03Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules940094965/artifact_info file." - time="2023-07-27T20:08:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules940094965/artifact_info" - time="2023-07-27T20:08:03Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:03Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.12s) + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:18Z" level=info msg="Handling loaded state: update-commit" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=error msg="Mender shut down in state: update-commit" + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:18Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37427->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37427->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38462->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38462->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules524658266/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules524658266/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53723->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53723->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59913->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59913->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45631->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45631->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33749->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33749->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules524658266/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules524658266/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules524658266/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules524658266/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:18Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules524658266/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules524658266/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback state_test.go:4717: Error in Download_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:03Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:03Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43745->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43745->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44148->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44148->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" - time="2023-07-27T20:08:03Z" level=info msg="State transition: update-fetch [Download_Enter] -> error [Error]" - time="2023-07-27T20:08:03Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Executing script: Download_Error_00" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=info msg="Handling error state, current error: transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" - time="2023-07-27T20:08:03Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules684336770/artifact_info file." - time="2023-07-27T20:08:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules684336770/artifact_info" - time="2023-07-27T20:08:03Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:03Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.04s) + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48866->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48866->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51101->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51101->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> error [Error]" + time="2023-07-27T20:16:18Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=info msg="Handling error state, current error: transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules011530059/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules011530059/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" 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="2023-07-27T20:08:03Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:03Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:03Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47787->[::1]:53: read: connection refused" - time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47787->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45287->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45287->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 1 (*app.idleState) - time="2023-07-27T20:08:04Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:04Z" level=info msg="Handling loaded state: update-fetch" - time="2023-07-27T20:08:04Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:04Z" level=error msg="Mender shut down in state: update-fetch" - time="2023-07-27T20:08:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules309176979/artifact_info file." - time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules309176979/artifact_info" - time="2023-07-27T20:08:04Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:04Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:18Z" level=info msg="Handling loaded state: update-fetch" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=error msg="Mender shut down in state: update-fetch" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules648826256/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules648826256/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.00s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback state_test.go:4717: Error in ArtifactInstall_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:04Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:04Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34767->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34767->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56584->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56584->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:04Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:04Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278316152/device_type" - time="2023-07-27T20:08:04Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:04Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:04Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:04Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules278316152/artifact_info file." - time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278316152/artifact_info" - time="2023-07-27T20:08:04Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:04Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278316152/artifact_info" - time="2023-07-27T20:08:04Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278316152/device_type" - time="2023-07-27T20:08:04Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:04Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278316152/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules278316152/work/payloads/0000/tree" - time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278316152/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules278316152/work/payloads/0000/tree" - time="2023-07-27T20:08:04Z" level=debug msg="Update module output: No" - time="2023-07-27T20:08:04Z" level=debug msg="Module does not support rollback" - time="2023-07-27T20:08:04Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:04Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52038->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52038->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55371->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55371->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59554->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59554->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35139->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35139->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" - time="2023-07-27T20:08:04Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2023-07-27T20:08:04Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:04Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50351->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50351->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32920->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32920->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60221->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60221->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52585->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52585->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278316152/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules278316152/work/payloads/0000/tree" - time="2023-07-27T20:08:04Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278316152/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules278316152/work/payloads/0000/tree" - time="2023-07-27T20:08:04Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:04Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:04Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:04Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.36s) + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49520->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49520->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34149->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34149->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules260707769/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules260707769/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules260707769/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules260707769/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules260707769/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules260707769/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules260707769/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules260707769/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules260707769/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:18Z" level=debug msg="Module does not support rollback" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40740->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40740->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39167->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39167->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55631->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55631->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40733->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40733->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" + time="2023-07-27T20:16:18Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:18Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35710->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35710->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56800->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56800->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39733->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39733->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59967->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59967->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules260707769/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules260707769/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules260707769/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules260707769/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:18Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback state_test.go:4717: Killed in ArtifactInstall_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:04Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:04Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51087->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51087->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53503->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53503->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:04Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:04Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261960897/device_type" - time="2023-07-27T20:08:04Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:04Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:04Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:04Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules261960897/artifact_info file." - time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261960897/artifact_info" - time="2023-07-27T20:08:04Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:04Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261960897/artifact_info" - time="2023-07-27T20:08:04Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261960897/device_type" - time="2023-07-27T20:08:04Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:04Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:04Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261960897/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules261960897/work/payloads/0000/tree" - time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261960897/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules261960897/work/payloads/0000/tree" - time="2023-07-27T20:08:04Z" level=debug msg="Update module output: No" - time="2023-07-27T20:08:04Z" level=debug msg="Module does not support rollback" - time="2023-07-27T20:08:04Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:04Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57723->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57723->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53233->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53233->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44628->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44628->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51728->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51728->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41429->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41429->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules103194006/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules103194006/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules103194006/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules103194006/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules103194006/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103194006/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules103194006/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103194006/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules103194006/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:18Z" level=debug msg="Module does not support rollback" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44618->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44618->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49826->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49826->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45010->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45010->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateErrorState) - time="2023-07-27T20:08:04Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:04Z" level=info msg="Handling loaded state: update-install" - time="2023-07-27T20:08:04Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:04Z" level=error msg="Mender shut down in state: update-install" - time="2023-07-27T20:08:04Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2023-07-27T20:08:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:04Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40299->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40299->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42709->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42709->[::1]:53: read: connection refused" - time="2023-07-27T20:08:04Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261960897/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules261960897/work/payloads/0000/tree" - time="2023-07-27T20:08:05Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261960897/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules261960897/work/payloads/0000/tree" - time="2023-07-27T20:08:05Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:05Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:05Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:05Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.07s) + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:18Z" level=info msg="Handling loaded state: update-install" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=error msg="Mender shut down in state: update-install" + time="2023-07-27T20:16:18Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:18Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33576->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33576->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36107->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36107->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103194006/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules103194006/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules103194006/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules103194006/work/payloads/0000/tree" + time="2023-07-27T20:16:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:18Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 state_test.go:4717: Error in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:05Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:05Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49636->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49636->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48452->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48452->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:05Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:05Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190311230/device_type" - time="2023-07-27T20:08:05Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:05Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules190311230/artifact_info file." - time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190311230/artifact_info" - time="2023-07-27T20:08:05Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190311230/artifact_info" - time="2023-07-27T20:08:05Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190311230/device_type" - time="2023-07-27T20:08:05Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190311230/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules190311230/work/payloads/0000/tree" - time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190311230/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules190311230/work/payloads/0000/tree" - time="2023-07-27T20:08:05Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:05Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:05Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:05Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45693->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45693->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50490->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50490->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55620->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55620->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59293->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59293->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" - time="2023-07-27T20:08:05Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:05Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55144->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55144->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51267->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51267->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32913->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32913->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50353->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50353->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190311230/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules190311230/work/payloads/0000/tree" - time="2023-07-27T20:08:05Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44957->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44957->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39084->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39084->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46475->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46475->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39977->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39977->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190311230/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules190311230/work/payloads/0000/tree" - time="2023-07-27T20:08:05Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190311230/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules190311230/work/payloads/0000/tree" - time="2023-07-27T20:08:05Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:05Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:05Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules190311230/artifact_info file." - time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190311230/artifact_info" - time="2023-07-27T20:08:05Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.44s) + time="2023-07-27T20:16:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46474->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46474->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33884->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33884->[::1]:53: read: connection refused" + time="2023-07-27T20:16:18Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:18Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules106938167/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules106938167/artifact_info file." + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules106938167/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules106938167/artifact_info" + time="2023-07-27T20:16:18Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules106938167/device_type" + time="2023-07-27T20:16:18Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules106938167/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules106938167/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules106938167/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules106938167/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59423->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59423->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33991->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33991->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43482->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43482->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38632->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38632->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:19Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46928->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46928->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49999->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49999->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52015->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52015->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33306->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33306->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules106938167/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules106938167/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44028->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44028->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58391->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58391->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57924->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57924->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43520->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43520->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules106938167/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules106938167/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules106938167/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules106938167/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:19Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:19Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules106938167/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules106938167/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 state_test.go:4717: Killed in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:05Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:05Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49490->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49490->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44725->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44725->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:05Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:05Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules373064703/device_type" - time="2023-07-27T20:08:05Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:05Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules373064703/artifact_info file." - time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules373064703/artifact_info" - time="2023-07-27T20:08:05Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules373064703/artifact_info" - time="2023-07-27T20:08:05Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules373064703/device_type" - time="2023-07-27T20:08:05Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules373064703/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules373064703/work/payloads/0000/tree" - time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules373064703/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules373064703/work/payloads/0000/tree" - time="2023-07-27T20:08:05Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:05Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:05Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:05Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49830->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49830->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56163->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56163->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53649->[::1]:53: read: connection refused" - time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53649->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56440->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56440->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57068->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57068->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules772166636/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules772166636/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules772166636/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules772166636/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules772166636/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules772166636/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules772166636/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules772166636/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules772166636/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47284->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47284->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42304->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42304->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58561->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58561->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateRollbackState) - time="2023-07-27T20:08:06Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:06Z" level=info msg="Handling loaded state: update-install" - time="2023-07-27T20:08:06Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:06Z" level=error msg="Mender shut down in state: update-install" - time="2023-07-27T20:08:06Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:06Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42993->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42993->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59590->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59590->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules373064703/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules373064703/work/payloads/0000/tree" - time="2023-07-27T20:08:06Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57956->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57956->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51678->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51678->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34826->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34826->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54155->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54155->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules373064703/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules373064703/work/payloads/0000/tree" - time="2023-07-27T20:08:06Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules373064703/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules373064703/work/payloads/0000/tree" - time="2023-07-27T20:08:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:06Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:06Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules373064703/artifact_info file." - time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules373064703/artifact_info" - time="2023-07-27T20:08:06Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.16s) + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:19Z" level=info msg="Handling loaded state: update-install" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=error msg="Mender shut down in state: update-install" + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:19Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56786->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56786->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51636->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51636->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules772166636/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules772166636/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59243->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59243->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45424->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45424->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56360->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56360->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56493->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56493->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules772166636/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules772166636/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules772166636/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules772166636/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:19Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:19Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules772166636/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules772166636/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 state_test.go:4717: Error in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37063->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37063->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36370->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36370->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:06Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:06Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809863252/device_type" - time="2023-07-27T20:08:06Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:06Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules809863252/artifact_info file." - time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809863252/artifact_info" - time="2023-07-27T20:08:06Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809863252/artifact_info" - time="2023-07-27T20:08:06Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809863252/device_type" - time="2023-07-27T20:08:06Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" - time="2023-07-27T20:08:06Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:06Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:06Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:06Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40450->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40450->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59595->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59595->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53364->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53364->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42575->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42575->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" - time="2023-07-27T20:08:06Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:06Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:06Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47766->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47766->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46485->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46485->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57968->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57968->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43245->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43245->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="transient error: error calling enter script for (error) reboot state: error running enter state script(s) for ArtifactReboot_Enter state: statescript: error executing 'ArtifactReboot_Enter_00': 1 : exit status 1" - time="2023-07-27T20:08:06Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:06Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44703->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44703->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48849->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48849->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51830->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51830->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42070->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42070->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" - time="2023-07-27T20:08:06Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:06Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36339->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36339->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59376->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59376->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56507->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56507->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60770->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60770->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" - time="2023-07-27T20:08:06Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" - time="2023-07-27T20:08:06Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:06Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:06Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50072->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50072->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35870->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35870->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53041->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53041->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36539->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36539->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" - time="2023-07-27T20:08:06Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" - time="2023-07-27T20:08:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:06Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:06Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules809863252/artifact_info file." - time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809863252/artifact_info" - time="2023-07-27T20:08:06Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.49s) + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44104->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44104->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39971->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39971->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules946851653/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules946851653/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules946851653/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules946851653/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules946851653/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946851653/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules946851653/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946851653/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules946851653/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46353->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46353->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52948->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52948->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50042->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50042->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47370->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47370->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946851653/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules946851653/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946851653/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules946851653/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45114->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45114->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56540->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56540->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53439->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53439->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48897->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48897->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="transient error: error calling enter script for (error) reboot state: error running enter state script(s) for ArtifactReboot_Enter state: statescript: error executing 'ArtifactReboot_Enter_00': 1 : exit status 1" + time="2023-07-27T20:16:19Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:19Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47705->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47705->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35343->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35343->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50384->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50384->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57176->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57176->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946851653/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules946851653/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59901->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59901->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40751->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40751->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35651->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35651->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60175->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60175->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946851653/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules946851653/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946851653/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules946851653/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48613->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48613->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47699->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47699->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35978->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35978->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48063->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48063->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946851653/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules946851653/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946851653/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules946851653/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:19Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:19Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules946851653/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules946851653/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 state_test.go:4717: Killed in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:06Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49191->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49191->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33375->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33375->[::1]:53: read: connection refused" - time="2023-07-27T20:08:06Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:06Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:06Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149774285/device_type" - time="2023-07-27T20:08:06Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:06Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules149774285/artifact_info file." - time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149774285/artifact_info" - time="2023-07-27T20:08:06Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149774285/artifact_info" - time="2023-07-27T20:08:06Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149774285/device_type" - time="2023-07-27T20:08:06Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" - time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:07Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41343->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41343->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42773->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42773->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55658->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55658->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41523->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41523->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:07Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35589->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35589->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49388->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49388->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37825->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37825->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55135->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55135->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34954->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34954->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules778848786/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules778848786/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules778848786/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules778848786/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules778848786/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules778848786/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules778848786/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules778848786/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules778848786/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54722->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54722->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38694->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38694->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44181->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44181->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55051->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55051->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules778848786/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules778848786/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules778848786/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules778848786/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38068->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38068->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37614->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37614->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55323->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55323->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateVerifyRebootState) - time="2023-07-27T20:08:07Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:07Z" level=info msg="Handling loaded state: reboot" - time="2023-07-27T20:08:07Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:07Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:07Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:08:07Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46467->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46467->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60649->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60649->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41330->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41330->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56591->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56591->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=debug msg="Committing new artifact name: artifact-name" - time="2023-07-27T20:08:07Z" level=debug msg="Committing new artifact group name: " - time="2023-07-27T20:08:07Z" level=debug msg="Committing new artifact type-info provides" - time="2023-07-27T20:08:07Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2023-07-27T20:08:07Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2023-07-27T20:08:07Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:07Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2023-07-27T20:08:07Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:07Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:07Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.15s) + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:19Z" level=info msg="Handling loaded state: reboot" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules778848786/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules778848786/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44253->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44253->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58465->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58465->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60184->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60184->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51653->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51653->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules778848786/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules778848786/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Committing new artifact name: artifact-name" + time="2023-07-27T20:16:19Z" level=debug msg="Committing new artifact group name: " + time="2023-07-27T20:16:19Z" level=debug msg="Committing new artifact type-info provides" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules778848786/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules778848786/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:19Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:19Z" 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="2023-07-27T20:08:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53049->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53049->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35681->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35681->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:07Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:07Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354700602/device_type" - time="2023-07-27T20:08:07Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:07Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:07Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules354700602/artifact_info file." - time="2023-07-27T20:08:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354700602/artifact_info" - time="2023-07-27T20:08:07Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:07Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354700602/artifact_info" - time="2023-07-27T20:08:07Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354700602/device_type" - time="2023-07-27T20:08:07Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:07Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:07Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50680->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50680->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46555->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46555->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43804->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43804->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58605->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58605->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:07Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39572->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39572->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41192->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41192->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41102->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41102->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36175->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36175->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:07Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:07Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:07Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:07Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47737->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47737->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43491->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43491->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34849->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34849->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Enter_00': 1: exit status 1" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59167->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59167->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:07Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42778->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42778->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44650->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44650->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54660->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54660->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49605->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49605->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" - time="2023-07-27T20:08:07Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:07Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:07Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32873->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32873->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55752->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55752->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49794->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49794->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50751->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50751->[::1]:53: read: connection refused" - time="2023-07-27T20:08:07Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:08Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:08Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules354700602/artifact_info file." - time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354700602/artifact_info" - time="2023-07-27T20:08:08Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.51s) + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47665->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47665->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51966->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51966->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules751954787/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules751954787/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules751954787/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules751954787/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules751954787/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules751954787/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules751954787/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules751954787/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules751954787/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34438->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34438->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48678->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48678->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45811->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45811->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48030->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48030->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules751954787/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules751954787/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules751954787/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules751954787/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44983->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44983->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49420->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49420->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56200->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56200->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60519->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60519->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:19Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules751954787/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules751954787/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules751954787/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules751954787/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:19Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46092->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46092->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37051->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37051->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48337->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48337->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Enter_00': 1: exit status 1" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49421->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49421->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules751954787/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules751954787/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59473->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59473->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42960->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42960->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57774->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57774->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42054->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42054->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules751954787/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules751954787/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules751954787/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules751954787/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50313->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50313->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60961->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60961->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37789->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37789->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44036->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44036->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules751954787/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules751954787/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules751954787/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules751954787/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:19Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:19Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules751954787/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules751954787/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 state_test.go:4717: Killed in ArtifactRollback_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44020->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44020->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42854->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42854->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:08Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:08Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules914107819/device_type" - time="2023-07-27T20:08:08Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:08Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules914107819/artifact_info file." - time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules914107819/artifact_info" - time="2023-07-27T20:08:08Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules914107819/artifact_info" - time="2023-07-27T20:08:08Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules914107819/device_type" - time="2023-07-27T20:08:08Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:08Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52562->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52562->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39786->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39786->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53276->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53276->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35046->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35046->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:08Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57318->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57318->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58613->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58613->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49775->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49775->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40699->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40699->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:08Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:08Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:08Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51400->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51400->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48600->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48600->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59201->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59201->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39071->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39071->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56034->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56034->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules882341768/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules882341768/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules882341768/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules882341768/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules882341768/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882341768/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules882341768/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882341768/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules882341768/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40426->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40426->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39082->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39082->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47375->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47375->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48208->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48208->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882341768/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules882341768/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882341768/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules882341768/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42455->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42455->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33588->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33588->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35828->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35828->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49561->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49561->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:19Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882341768/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules882341768/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882341768/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules882341768/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:19Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54132->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54132->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48444->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48444->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54811->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54811->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 7 (*app.updateRollbackState) - time="2023-07-27T20:08:08Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:08Z" level=info msg="Handling loaded state: rollback" - time="2023-07-27T20:08:08Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:08Z" level=error msg="Mender shut down in state: rollback" - time="2023-07-27T20:08:08Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:08Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45752->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45752->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59043->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59043->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:08Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58732->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58732->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41186->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41186->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44758->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44758->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51672->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51672->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:08Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:08Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34452->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34452->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48800->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48800->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49737->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49737->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42966->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42966->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:08Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:08Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules914107819/artifact_info file." - time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules914107819/artifact_info" - time="2023-07-27T20:08:08Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.16s) + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:19Z" level=info msg="Handling loaded state: rollback" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=error msg="Mender shut down in state: rollback" + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:19Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40821->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40821->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58608->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58608->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882341768/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules882341768/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43552->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43552->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42316->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42316->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43840->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43840->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55090->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55090->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882341768/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules882341768/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882341768/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules882341768/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50047->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50047->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59271->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59271->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55126->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55126->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43655->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43655->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882341768/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules882341768/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882341768/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules882341768/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:19Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:19Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules882341768/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules882341768/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Error in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42286->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42286->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45886->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45886->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:08Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:08Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285503344/device_type" - time="2023-07-27T20:08:08Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:08Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules285503344/artifact_info file." - time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285503344/artifact_info" - time="2023-07-27T20:08:08Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285503344/artifact_info" - time="2023-07-27T20:08:08Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285503344/device_type" - time="2023-07-27T20:08:08Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:08Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54869->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54869->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57613->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57613->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35736->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35736->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38184->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38184->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" - time="2023-07-27T20:08:08Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:08Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60299->[::1]:53: read: connection refused" - time="2023-07-27T20:08:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60299->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51379->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51379->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56258->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56258->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58409->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58409->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:09Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:09Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:09Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:09Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53103->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53103->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43505->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43505->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52264->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52264->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41227->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41227->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:09Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57749->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57749->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36950->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36950->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57754->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57754->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Enter_00': 1: exit status 1" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47909->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47909->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:09Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:09Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39259->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39259->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57419->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57419->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45550->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45550->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57450->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57450->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:09Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:09Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules285503344/artifact_info file." - time="2023-07-27T20:08:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285503344/artifact_info" - time="2023-07-27T20:08:09Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:09Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.70s) + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49464->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49464->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35614->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35614->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules801162513/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules801162513/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules801162513/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules801162513/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules801162513/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules801162513/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules801162513/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules801162513/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules801162513/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38591->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38591->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34567->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34567->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45278->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45278->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60119->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60119->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules801162513/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules801162513/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules801162513/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules801162513/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35306->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35306->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50661->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50661->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34236->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34236->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45617->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45617->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:19Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules801162513/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules801162513/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules801162513/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules801162513/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:19Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45533->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45533->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34873->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34873->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58913->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58913->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53468->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53468->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules801162513/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules801162513/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55158->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55158->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53779->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53779->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34520->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34520->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Enter_00': 1: exit status 1" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54558->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54558->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules801162513/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules801162513/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules801162513/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules801162513/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45107->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45107->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48999->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48999->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33221->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33221->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59315->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59315->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules801162513/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules801162513/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules801162513/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules801162513/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:19Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:19Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules801162513/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules801162513/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56739->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56739->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41355->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41355->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:09Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:09Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477245721/device_type" - time="2023-07-27T20:08:09Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:09Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:09Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules477245721/artifact_info file." - time="2023-07-27T20:08:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477245721/artifact_info" - time="2023-07-27T20:08:09Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:09Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477245721/artifact_info" - time="2023-07-27T20:08:09Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477245721/device_type" - time="2023-07-27T20:08:09Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:09Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:09Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:09Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:09Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:09Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46896->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46896->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59484->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59484->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58271->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58271->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42514->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42514->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:09Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:09Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55769->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55769->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35737->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35737->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51101->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51101->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36498->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36498->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:09Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:09Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:09Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:09Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57112->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57112->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59905->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59905->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47268->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47268->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53206->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53206->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" - time="2023-07-27T20:08:09Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:09Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39406->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39406->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41410->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41410->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44333->[::1]:53: read: connection refused" - time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44333->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42203->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42203->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59559->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59559->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules283909070/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules283909070/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules283909070/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules283909070/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules283909070/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules283909070/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules283909070/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules283909070/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules283909070/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55234->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55234->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55498->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55498->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57277->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57277->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52619->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52619->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules283909070/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules283909070/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules283909070/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules283909070/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42416->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42416->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39775->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39775->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50286->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50286->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53842->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53842->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:19Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules283909070/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules283909070/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules283909070/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules283909070/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:19Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40877->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40877->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42911->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42911->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56476->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56476->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41543->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41543->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules283909070/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules283909070/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43179->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43179->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50352->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50352->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47735->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47735->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateVerifyRollbackRebootState) - time="2023-07-27T20:08:10Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:10Z" level=info msg="Handling loaded state: rollback-reboot" - time="2023-07-27T20:08:10Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:10Z" level=info msg="Mender shut down in state: rollback-reboot" - time="2023-07-27T20:08:10Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:10Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" - time="2023-07-27T20:08:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:10Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:10Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36950->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36950->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44920->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44920->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40364->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40364->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39693->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39693->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" - time="2023-07-27T20:08:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" - time="2023-07-27T20:08:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:10Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:10Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules477245721/artifact_info file." - time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477245721/artifact_info" - time="2023-07-27T20:08:10Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.10s) + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:19Z" level=info msg="Handling loaded state: rollback-reboot" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=info msg="Mender shut down in state: rollback-reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules283909070/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules283909070/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32770->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32770->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54781->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54781->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44675->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44675->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55306->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55306->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules283909070/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules283909070/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules283909070/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules283909070/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:19Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:19Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules283909070/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules283909070/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" 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="2023-07-27T20:08:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54418->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54418->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37063->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37063->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:10Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:10Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules605099126/device_type" - time="2023-07-27T20:08:10Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:10Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:10Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules605099126/artifact_info file." - time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules605099126/artifact_info" - time="2023-07-27T20:08:10Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules605099126/artifact_info" - time="2023-07-27T20:08:10Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules605099126/device_type" - time="2023-07-27T20:08:10Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules605099126/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules605099126/work/payloads/0000/tree" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules605099126/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules605099126/work/payloads/0000/tree" - time="2023-07-27T20:08:10Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:10Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38154->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38154->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49258->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49258->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55585->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55585->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35983->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35983->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules605099126/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules605099126/work/payloads/0000/tree" - time="2023-07-27T20:08:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:10Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:10Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43632->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43632->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47395->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47395->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58244->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58244->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45633->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45633->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules605099126/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules605099126/work/payloads/0000/tree" - time="2023-07-27T20:08:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51533->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51533->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60927->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60927->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52876->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52876->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Enter_00': 1: exit status 1" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59232->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59232->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules605099126/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules605099126/work/payloads/0000/tree" - time="2023-07-27T20:08:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules605099126/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules605099126/work/payloads/0000/tree" - time="2023-07-27T20:08:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:10Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:10Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules605099126/artifact_info file." - time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules605099126/artifact_info" - time="2023-07-27T20:08:10Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.47s) + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42641->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42641->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41435->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41435->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules211655631/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules211655631/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules211655631/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules211655631/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules211655631/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules211655631/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules211655631/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules211655631/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules211655631/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39922->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39922->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51634->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51634->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52439->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52439->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33451->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33451->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules211655631/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules211655631/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:19Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53711->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53711->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51871->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51871->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57586->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57586->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53969->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53969->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules211655631/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules211655631/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60249->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60249->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60983->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60983->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55337->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55337->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Enter_00': 1: exit status 1" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45416->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45416->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules211655631/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules211655631/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules211655631/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules211655631/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:19Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:19Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules211655631/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules211655631/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 state_test.go:4717: Killed in ArtifactFailure_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36115->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36115->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57512->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57512->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:10Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:10Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821169047/device_type" - time="2023-07-27T20:08:10Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:10Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:10Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules821169047/artifact_info file." - time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821169047/artifact_info" - time="2023-07-27T20:08:10Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821169047/artifact_info" - time="2023-07-27T20:08:10Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821169047/device_type" - time="2023-07-27T20:08:10Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821169047/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules821169047/work/payloads/0000/tree" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821169047/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules821169047/work/payloads/0000/tree" - time="2023-07-27T20:08:10Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:10Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39095->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39095->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47267->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47267->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43172->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43172->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39576->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39576->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821169047/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules821169047/work/payloads/0000/tree" - time="2023-07-27T20:08:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:10Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:10Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52505->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52505->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36191->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36191->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36325->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36325->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38858->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38858->[::1]:53: read: connection refused" - time="2023-07-27T20:08:10Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821169047/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules821169047/work/payloads/0000/tree" - time="2023-07-27T20:08:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39276->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39276->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35647->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35647->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47065->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47065->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37671->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37671->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58272->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58272->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules626946148/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules626946148/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules626946148/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules626946148/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules626946148/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules626946148/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules626946148/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules626946148/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules626946148/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43744->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43744->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44282->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44282->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51790->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51790->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48859->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48859->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules626946148/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules626946148/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:19Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48001->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48001->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40284->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40284->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32890->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32890->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47830->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47830->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules626946148/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules626946148/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40574->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40574->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54215->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54215->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59041->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59041->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 6 (*app.updateErrorState) - time="2023-07-27T20:08:11Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:11Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:11Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:11Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:11Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:11Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55855->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55855->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40688->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40688->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821169047/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules821169047/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821169047/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules821169047/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:11Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:11Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules821169047/artifact_info file." - time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821169047/artifact_info" - time="2023-07-27T20:08:11Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.08s) + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:19Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:19Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42273->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42273->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59247->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59247->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules626946148/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules626946148/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules626946148/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules626946148/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:19Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:19Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules626946148/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules626946148/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 state_test.go:4717: Error in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37287->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37287->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46803->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46803->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:11Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:11Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163354572/device_type" - time="2023-07-27T20:08:11Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:11Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules163354572/artifact_info file." - time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163354572/artifact_info" - time="2023-07-27T20:08:11Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163354572/artifact_info" - time="2023-07-27T20:08:11Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163354572/device_type" - time="2023-07-27T20:08:11Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:11Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47336->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47336->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33319->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33319->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34295->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34295->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47398->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47398->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:11Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:11Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54086->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54086->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57200->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57200->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55780->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55780->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37922->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37922->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:11Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:11Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:08:11Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59249->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59249->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49005->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49005->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32930->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32930->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39486->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39486->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" - time="2023-07-27T20:08:11Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:11Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41331->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41331->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36436->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36436->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45485->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45485->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34668->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34668->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:11Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45881->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45881->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34613->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34613->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42048->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42048->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51109->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51109->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:11Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:11Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49716->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49716->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57720->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57720->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50140->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50140->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47963->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47963->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:11Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:11Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules163354572/artifact_info file." - time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163354572/artifact_info" - time="2023-07-27T20:08:11Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.50s) + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48802->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48802->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51600->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51600->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules487105309/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules487105309/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules487105309/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules487105309/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules487105309/device_type" + time="2023-07-27T20:16:19Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules487105309/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules487105309/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules487105309/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules487105309/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37749->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37749->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60670->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60670->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55069->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55069->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60874->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60874->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules487105309/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules487105309/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules487105309/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules487105309/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:19Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43463->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43463->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38716->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38716->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50294->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50294->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38707->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38707->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:19Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules487105309/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules487105309/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules487105309/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules487105309/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53477->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53477->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41698->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41698->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46885->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46885->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44803->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44803->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:19Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35104->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35104->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37447->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37447->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45311->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45311->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40054->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40054->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules487105309/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules487105309/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57713->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57713->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37414->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37414->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51532->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51532->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35128->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35128->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules487105309/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules487105309/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules487105309/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules487105309/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:19Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:19Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56904->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56904->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52976->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52976->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56529->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56529->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33325->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33325->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules487105309/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules487105309/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules487105309/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules487105309/work/payloads/0000/tree" + time="2023-07-27T20:16:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:19Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:19Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules487105309/artifact_info file." + time="2023-07-27T20:16:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules487105309/artifact_info" + time="2023-07-27T20:16:19Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:19Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.09s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 state_test.go:4717: Killed in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40896->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40896->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48664->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48664->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:11Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:11Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086927525/device_type" - time="2023-07-27T20:08:11Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:11Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules086927525/artifact_info file." - time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086927525/artifact_info" - time="2023-07-27T20:08:11Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086927525/artifact_info" - time="2023-07-27T20:08:11Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086927525/device_type" - time="2023-07-27T20:08:11Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:11Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35781->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35781->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41710->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41710->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40979->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40979->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48068->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48068->[::1]:53: read: connection refused" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" - time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:12Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:12Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51964->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51964->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57633->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57633->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57379->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57379->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37674->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37674->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:12Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:12Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:08:12Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60079->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60079->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45265->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45265->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50449->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50449->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35150->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35150->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53102->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53102->[::1]:53: read: connection refused" + time="2023-07-27T20:16:19Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:19Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules144915658/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules144915658/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules144915658/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules144915658/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules144915658/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules144915658/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules144915658/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules144915658/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules144915658/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52026->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52026->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45342->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45342->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59631->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59631->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36373->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36373->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules144915658/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules144915658/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules144915658/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules144915658/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44200->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44200->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47820->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47820->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47463->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47463->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56347->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56347->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:20Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules144915658/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules144915658/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules144915658/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules144915658/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54460->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54460->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46581->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46581->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51487->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51487->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2023-07-27T20:08:12Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:12Z" level=info msg="Handling loaded state: update-commit" - time="2023-07-27T20:08:12Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:12Z" level=error msg="Mender shut down in state: update-commit" - time="2023-07-27T20:08:12Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:12Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58395->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58395->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49631->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49631->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40165->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40165->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36920->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36920->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34430->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34430->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46850->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46850->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:12Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:12Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44244->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44244->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56566->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56566->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52620->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52620->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57348->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57348->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:12Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:12Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules086927525/artifact_info file." - time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086927525/artifact_info" - time="2023-07-27T20:08:12Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.15s) + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:20Z" level=info msg="Handling loaded state: update-commit" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=error msg="Mender shut down in state: update-commit" + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:20Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49412->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49412->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54734->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54734->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules144915658/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules144915658/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55078->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55078->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57747->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57747->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57591->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57591->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43192->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43192->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules144915658/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules144915658/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules144915658/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules144915658/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54039->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54039->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45065->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45065->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45765->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45765->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60410->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60410->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules144915658/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules144915658/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules144915658/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules144915658/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:20Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:20Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules144915658/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules144915658/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot state_test.go:4717: Error in ArtifactCommit_Enter_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37234->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37234->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46704->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46704->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:12Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:12Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules749470962/device_type" - time="2023-07-27T20:08:12Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:12Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules749470962/artifact_info file." - time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules749470962/artifact_info" - time="2023-07-27T20:08:12Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules749470962/artifact_info" - time="2023-07-27T20:08:12Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules749470962/device_type" - time="2023-07-27T20:08:12Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:12Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:12Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:12Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44138->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44138->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42276->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42276->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51749->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51749->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60083->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60083->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=debug msg="Update module output: No" - time="2023-07-27T20:08:12Z" level=debug msg="Module does not need reboot" - time="2023-07-27T20:08:12Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34874->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34874->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37159->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37159->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52120->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52120->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50475->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50475->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" - time="2023-07-27T20:08:12Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:12Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47953->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47953->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56485->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56485->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57019->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57019->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41038->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41038->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41376->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41376->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38792->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38792->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53778->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53778->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48583->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48583->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:12Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:12Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules749470962/artifact_info file." - time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules749470962/artifact_info" - time="2023-07-27T20:08:12Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.29s) + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48583->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48583->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44062->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44062->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847666811/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules847666811/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847666811/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847666811/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847666811/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847666811/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules847666811/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847666811/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules847666811/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33955->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33955->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34084->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34084->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36031->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36031->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55205->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55205->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847666811/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules847666811/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847666811/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules847666811/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:20Z" level=debug msg="Module does not need reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54962->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54962->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59872->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59872->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33076->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33076->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40348->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40348->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:20Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53921->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53921->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41055->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41055->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34571->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34571->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59698->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59698->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847666811/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules847666811/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50632->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50632->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41989->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41989->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43001->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43001->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48422->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48422->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847666811/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules847666811/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847666811/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules847666811/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:20Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:20Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules847666811/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847666811/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot state_test.go:4717: Killed in ArtifactCommit_Enter_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:12Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42200->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42200->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41658->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41658->[::1]:53: read: connection refused" - time="2023-07-27T20:08:12Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:12Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:12Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules253128643/device_type" - time="2023-07-27T20:08:12Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:12Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules253128643/artifact_info file." - time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules253128643/artifact_info" - time="2023-07-27T20:08:12Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules253128643/artifact_info" - time="2023-07-27T20:08:12Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules253128643/device_type" - time="2023-07-27T20:08:12Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" - time="2023-07-27T20:08:13Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:13Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34801->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34801->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59813->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59813->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39813->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39813->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42273->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42273->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" - time="2023-07-27T20:08:13Z" level=debug msg="Update module output: No" - time="2023-07-27T20:08:13Z" level=debug msg="Module does not need reboot" - time="2023-07-27T20:08:13Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55690->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55690->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52596->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52596->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49384->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49384->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42426->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42426->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48788->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48788->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules767354496/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules767354496/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules767354496/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules767354496/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules767354496/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules767354496/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules767354496/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules767354496/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules767354496/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60132->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60132->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38024->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38024->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46644->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46644->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43177->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43177->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules767354496/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules767354496/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules767354496/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules767354496/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:20Z" level=debug msg="Module does not need reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43800->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43800->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48573->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48573->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33983->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33983->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateRollbackState) - time="2023-07-27T20:08:13Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:13Z" level=info msg="Handling loaded state: update-commit" - time="2023-07-27T20:08:13Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:13Z" level=error msg="Mender shut down in state: update-commit" - time="2023-07-27T20:08:13Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:13Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38433->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38433->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60089->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60089->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" - time="2023-07-27T20:08:13Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54428->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54428->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42843->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42843->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55345->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55345->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47334->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47334->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" - time="2023-07-27T20:08:13Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" - time="2023-07-27T20:08:13Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:13Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:13Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules253128643/artifact_info file." - time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules253128643/artifact_info" - time="2023-07-27T20:08:13Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.16s) + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:20Z" level=info msg="Handling loaded state: update-commit" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=error msg="Mender shut down in state: update-commit" + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:20Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58010->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58010->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60292->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60292->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules767354496/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules767354496/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34749->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34749->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45487->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45487->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52447->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52447->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49194->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49194->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules767354496/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules767354496/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules767354496/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules767354496/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:20Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:20Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules767354496/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules767354496/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback state_test.go:4717: Error in Download_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56196->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56196->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36812->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36812->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:13Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:13Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782175592/device_type" - time="2023-07-27T20:08:13Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:13Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules782175592/artifact_info file." - time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782175592/artifact_info" - time="2023-07-27T20:08:13Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782175592/artifact_info" - time="2023-07-27T20:08:13Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782175592/device_type" - time="2023-07-27T20:08:13Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782175592/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules782175592/work/payloads/0000/tree" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782175592/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules782175592/work/payloads/0000/tree" - time="2023-07-27T20:08:13Z" level=debug msg="Update module output: No" - time="2023-07-27T20:08:13Z" level=debug msg="Module does not support rollback" - time="2023-07-27T20:08:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41747->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41747->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56748->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56748->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="transient error: error executing leave script for update-after-store state: error running leave state script(s) for Download_Leave state: statescript: error executing 'Download_Leave_00': 1 : exit status 1" - time="2023-07-27T20:08:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> cleanup [Error]" - time="2023-07-27T20:08:13Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Executing script: Download_Error_00" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782175592/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules782175592/work/payloads/0000/tree" - time="2023-07-27T20:08:13Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:13Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:13Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules782175592/artifact_info file." - time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782175592/artifact_info" - time="2023-07-27T20:08:13Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.24s) + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39667->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39667->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34328->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34328->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules205528937/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules205528937/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules205528937/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules205528937/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules205528937/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules205528937/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules205528937/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules205528937/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules205528937/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:20Z" level=debug msg="Module does not support rollback" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51520->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51520->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54731->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54731->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="transient error: error executing leave script for update-after-store state: error running leave state script(s) for Download_Leave state: statescript: error executing 'Download_Leave_00': 1 : exit status 1" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> cleanup [Error]" + time="2023-07-27T20:16:20Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules205528937/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules205528937/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:20Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:20Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules205528937/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules205528937/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback state_test.go:4717: Killed in Download_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37149->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37149->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51219->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51219->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:13Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:13Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules280271473/device_type" - time="2023-07-27T20:08:13Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:13Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules280271473/artifact_info file." - time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules280271473/artifact_info" - time="2023-07-27T20:08:13Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules280271473/artifact_info" - time="2023-07-27T20:08:13Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules280271473/device_type" - time="2023-07-27T20:08:13Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules280271473/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules280271473/work/payloads/0000/tree" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules280271473/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules280271473/work/payloads/0000/tree" - time="2023-07-27T20:08:13Z" level=debug msg="Update module output: No" - time="2023-07-27T20:08:13Z" level=debug msg="Module does not support rollback" - time="2023-07-27T20:08:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:13Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60915->[::1]:53: read: connection refused" - time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60915->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49369->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49369->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55130->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55130->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules810178822/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules810178822/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules810178822/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules810178822/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules810178822/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810178822/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules810178822/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810178822/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules810178822/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:20Z" level=debug msg="Module does not support rollback" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39348->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39348->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateCleanupState) - time="2023-07-27T20:08:14Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:14Z" level=info msg="Handling loaded state: update-after-store" - time="2023-07-27T20:08:14Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:14Z" level=error msg="Mender shut down in state: update-after-store" - time="2023-07-27T20:08:14Z" level=info msg="State transition: init [none] -> cleanup [Error]" - time="2023-07-27T20:08:14Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules280271473/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules280271473/work/payloads/0000/tree" - time="2023-07-27T20:08:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:14Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:14Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules280271473/artifact_info file." - time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules280271473/artifact_info" - time="2023-07-27T20:08:14Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.03s) + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:20Z" level=info msg="Handling loaded state: update-after-store" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=error msg="Mender shut down in state: update-after-store" + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> cleanup [Error]" + time="2023-07-27T20:16:20Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810178822/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules810178822/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:20Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:20Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules810178822/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules810178822/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.00s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback state_test.go:4717: Error in ArtifactInstall_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51405->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51405->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34135->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34135->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:14Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:14Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules877567150/device_type" - time="2023-07-27T20:08:14Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:14Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules877567150/artifact_info file." - time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules877567150/artifact_info" - time="2023-07-27T20:08:14Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules877567150/artifact_info" - time="2023-07-27T20:08:14Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules877567150/device_type" - time="2023-07-27T20:08:14Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules877567150/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules877567150/work/payloads/0000/tree" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules877567150/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules877567150/work/payloads/0000/tree" - time="2023-07-27T20:08:14Z" level=debug msg="Update module output: No" - time="2023-07-27T20:08:14Z" level=debug msg="Module does not support rollback" - time="2023-07-27T20:08:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44003->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44003->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40350->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40350->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53881->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53881->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33794->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33794->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules877567150/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules877567150/work/payloads/0000/tree" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules877567150/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules877567150/work/payloads/0000/tree" - time="2023-07-27T20:08:14Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:14Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52764->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52764->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50700->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50700->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" - time="2023-07-27T20:08:14Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2023-07-27T20:08:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:14Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51336->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51336->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58565->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58565->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38145->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38145->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41800->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41800->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules877567150/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules877567150/work/payloads/0000/tree" - time="2023-07-27T20:08:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules877567150/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules877567150/work/payloads/0000/tree" - time="2023-07-27T20:08:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:14Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:14Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:14Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.40s) + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41956->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41956->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51538->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51538->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules363346279/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules363346279/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules363346279/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules363346279/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules363346279/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules363346279/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules363346279/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules363346279/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules363346279/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:20Z" level=debug msg="Module does not support rollback" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52070->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52070->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50799->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50799->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54114->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54114->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33597->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33597->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules363346279/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules363346279/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules363346279/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules363346279/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53821->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53821->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50598->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50598->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" + time="2023-07-27T20:16:20Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:20Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52687->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52687->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48052->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48052->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45966->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45966->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41273->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41273->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules363346279/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules363346279/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules363346279/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules363346279/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:20Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:20Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback state_test.go:4717: Killed in ArtifactInstall_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50631->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50631->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34054->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34054->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:14Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:14Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules198345263/device_type" - time="2023-07-27T20:08:14Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:14Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules198345263/artifact_info file." - time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules198345263/artifact_info" - time="2023-07-27T20:08:14Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules198345263/artifact_info" - time="2023-07-27T20:08:14Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules198345263/device_type" - time="2023-07-27T20:08:14Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules198345263/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules198345263/work/payloads/0000/tree" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules198345263/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules198345263/work/payloads/0000/tree" - time="2023-07-27T20:08:14Z" level=debug msg="Update module output: No" - time="2023-07-27T20:08:14Z" level=debug msg="Module does not support rollback" - time="2023-07-27T20:08:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52791->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52791->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40617->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40617->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32843->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32843->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50669->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50669->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules198345263/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules198345263/work/payloads/0000/tree" - time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules198345263/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules198345263/work/payloads/0000/tree" - time="2023-07-27T20:08:14Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:14Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41064->[::1]:53: read: connection refused" - time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41064->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49933->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49933->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57997->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57997->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules491714524/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules491714524/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules491714524/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules491714524/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules491714524/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules491714524/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules491714524/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules491714524/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules491714524/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:20Z" level=debug msg="Module does not support rollback" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47149->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47149->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34921->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34921->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55582->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55582->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52674->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52674->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules491714524/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules491714524/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules491714524/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules491714524/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46074->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46074->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateErrorState) - time="2023-07-27T20:08:15Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:15Z" level=info msg="Handling loaded state: update-install" - time="2023-07-27T20:08:15Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:15Z" level=error msg="Mender shut down in state: update-install" - time="2023-07-27T20:08:15Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2023-07-27T20:08:15Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:15Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60667->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60667->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49431->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49431->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules198345263/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules198345263/work/payloads/0000/tree" - time="2023-07-27T20:08:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules198345263/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules198345263/work/payloads/0000/tree" - time="2023-07-27T20:08:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:15Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:15Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:15Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.08s) + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:20Z" level=info msg="Handling loaded state: update-install" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=error msg="Mender shut down in state: update-install" + time="2023-07-27T20:16:20Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:20Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34026->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34026->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38179->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38179->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules491714524/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules491714524/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules491714524/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules491714524/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:20Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:20Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 state_test.go:4717: Error in ArtifactInstall_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51699->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51699->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38370->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38370->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:15Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:15Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294143556/device_type" - time="2023-07-27T20:08:15Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:15Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules294143556/artifact_info file." - time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294143556/artifact_info" - time="2023-07-27T20:08:15Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294143556/artifact_info" - time="2023-07-27T20:08:15Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294143556/device_type" - time="2023-07-27T20:08:15Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" - time="2023-07-27T20:08:15Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:15Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57662->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57662->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42411->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42411->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49776->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49776->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32793->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32793->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" - time="2023-07-27T20:08:15Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:15Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59017->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59017->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37969->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37969->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" - time="2023-07-27T20:08:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:15Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49244->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49244->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50926->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50926->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55763->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55763->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36102->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36102->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" - time="2023-07-27T20:08:15Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56977->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56977->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58678->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58678->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47013->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47013->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34666->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34666->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" - time="2023-07-27T20:08:15Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" - time="2023-07-27T20:08:15Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:15Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:15Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44691->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44691->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44602->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44602->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47272->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47272->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34448->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34448->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" - time="2023-07-27T20:08:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" - time="2023-07-27T20:08:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:15Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:15Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules294143556/artifact_info file." - time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294143556/artifact_info" - time="2023-07-27T20:08:15Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.50s) + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59072->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59072->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33756->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33756->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules137220597/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules137220597/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules137220597/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules137220597/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules137220597/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules137220597/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules137220597/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules137220597/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules137220597/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44724->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44724->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59444->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59444->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44426->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44426->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55192->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55192->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules137220597/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules137220597/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules137220597/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules137220597/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58752->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58752->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34536->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34536->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:20Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53848->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53848->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34924->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34924->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58896->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58896->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51538->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51538->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules137220597/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules137220597/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58653->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58653->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53674->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53674->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52192->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52192->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58033->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58033->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules137220597/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules137220597/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules137220597/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules137220597/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59702->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59702->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49526->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49526->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35735->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35735->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59915->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59915->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules137220597/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules137220597/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules137220597/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules137220597/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:20Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:20Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules137220597/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules137220597/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 state_test.go:4717: Killed in ArtifactInstall_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:15Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33405->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33405->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45675->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45675->[::1]:53: read: connection refused" - time="2023-07-27T20:08:15Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:15Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:15Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules352457853/device_type" - time="2023-07-27T20:08:15Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:15Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules352457853/artifact_info file." - time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules352457853/artifact_info" - time="2023-07-27T20:08:15Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules352457853/artifact_info" - time="2023-07-27T20:08:15Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules352457853/device_type" - time="2023-07-27T20:08:15Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" - time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:16Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59899->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59899->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40538->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40538->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43793->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43793->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47851->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47851->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:16Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55214->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55214->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48450->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48450->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40125->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40125->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules095968898/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules095968898/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules095968898/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules095968898/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules095968898/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules095968898/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules095968898/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules095968898/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules095968898/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54788->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54788->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59157->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59157->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33504->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33504->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45400->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45400->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules095968898/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules095968898/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules095968898/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules095968898/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40470->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40470->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateRollbackState) - time="2023-07-27T20:08:16Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:16Z" level=info msg="Handling loaded state: update-install" - time="2023-07-27T20:08:16Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:16Z" level=error msg="Mender shut down in state: update-install" - time="2023-07-27T20:08:16Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:16Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60117->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60117->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39858->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39858->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36235->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36235->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57478->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57478->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47753->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47753->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34312->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34312->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:16Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:16Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54482->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54482->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49995->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49995->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57827->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57827->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49907->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49907->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:16Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:16Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules352457853/artifact_info file." - time="2023-07-27T20:08:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules352457853/artifact_info" - time="2023-07-27T20:08:16Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:16Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.23s) + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:20Z" level=info msg="Handling loaded state: update-install" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=error msg="Mender shut down in state: update-install" + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:20Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34721->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34721->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51815->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51815->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules095968898/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules095968898/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46630->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46630->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56376->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56376->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48521->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48521->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43697->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43697->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules095968898/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules095968898/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules095968898/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules095968898/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36297->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36297->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51858->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51858->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57418->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57418->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52495->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52495->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules095968898/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules095968898/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules095968898/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules095968898/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:20Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:20Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules095968898/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules095968898/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" 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="2023-07-27T20:08:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43033->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43033->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50036->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50036->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:16Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:16Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules426502570/device_type" - time="2023-07-27T20:08:16Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:16Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:16Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules426502570/artifact_info file." - time="2023-07-27T20:08:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules426502570/artifact_info" - time="2023-07-27T20:08:16Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:16Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules426502570/artifact_info" - time="2023-07-27T20:08:16Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules426502570/device_type" - time="2023-07-27T20:08:16Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:16Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:16Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36666->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36666->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53843->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53843->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54156->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54156->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54768->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54768->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:16Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55557->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55557->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58992->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58992->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46030->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46030->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39449->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39449->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:16Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:16Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:08:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50904->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50904->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57501->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57501->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="transient error: error executing leave script for after-reboot state: error running leave state script(s) for ArtifactReboot_Leave state: statescript: error executing 'ArtifactReboot_Leave_00': 1 : exit status 1" - time="2023-07-27T20:08:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:16Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40686->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40686->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56861->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56861->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36948->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36948->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37061->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37061->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59866->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59866->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45666->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45666->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50211->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50211->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37899->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37899->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" - time="2023-07-27T20:08:16Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:16Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:16Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46255->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46255->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57874->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57874->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41800->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41800->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37525->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37525->[::1]:53: read: connection refused" - time="2023-07-27T20:08:16Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" - time="2023-07-27T20:08:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" - time="2023-07-27T20:08:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:17Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:17Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules426502570/artifact_info file." - time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules426502570/artifact_info" - time="2023-07-27T20:08:17Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.52s) + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36883->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36883->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51247->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51247->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules802275987/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules802275987/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules802275987/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules802275987/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules802275987/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules802275987/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules802275987/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules802275987/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules802275987/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51005->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51005->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50676->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50676->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42954->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42954->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56187->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56187->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules802275987/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules802275987/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules802275987/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules802275987/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56524->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56524->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44520->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44520->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46562->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46562->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57877->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57877->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:20Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules802275987/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules802275987/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules802275987/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules802275987/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36113->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36113->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47660->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47660->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="transient error: error executing leave script for after-reboot state: error running leave state script(s) for ArtifactReboot_Leave state: statescript: error executing 'ArtifactReboot_Leave_00': 1 : exit status 1" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:20Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50241->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50241->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58944->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58944->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55347->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55347->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52588->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52588->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules802275987/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules802275987/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46117->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46117->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50599->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50599->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59535->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59535->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58049->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58049->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules802275987/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules802275987/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules802275987/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules802275987/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43540->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43540->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55636->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55636->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52918->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52918->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40519->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40519->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules802275987/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules802275987/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules802275987/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules802275987/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:20Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:20Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules802275987/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules802275987/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 state_test.go:4717: Killed in ArtifactReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33935->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33935->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33670->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33670->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:17Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:17Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules889259739/device_type" - time="2023-07-27T20:08:17Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:17Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules889259739/artifact_info file." - time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules889259739/artifact_info" - time="2023-07-27T20:08:17Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules889259739/artifact_info" - time="2023-07-27T20:08:17Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules889259739/device_type" - time="2023-07-27T20:08:17Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" - time="2023-07-27T20:08:17Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:17Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36236->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36236->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55660->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55660->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39274->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39274->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34389->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34389->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" - time="2023-07-27T20:08:17Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:17Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54850->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54850->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39621->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39621->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43158->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43158->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47900->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47900->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:17Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" - time="2023-07-27T20:08:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" - time="2023-07-27T20:08:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:17Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:08:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57665->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57665->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40880->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40880->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50693->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50693->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513250936/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules513250936/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513250936/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513250936/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513250936/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513250936/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules513250936/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513250936/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules513250936/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48868->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48868->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59792->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59792->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47231->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47231->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35818->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35818->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513250936/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules513250936/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513250936/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules513250936/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43729->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43729->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58472->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58472->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59977->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59977->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46955->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46955->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:20Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513250936/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules513250936/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513250936/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules513250936/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59687->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59687->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2023-07-27T20:08:17Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:17Z" level=info msg="Handling loaded state: after-reboot" - time="2023-07-27T20:08:17Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:17Z" level=error msg="Mender shut down in state: after-reboot" - time="2023-07-27T20:08:17Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:17Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47648->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47648->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41196->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41196->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" - time="2023-07-27T20:08:17Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46940->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46940->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45418->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45418->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35866->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35866->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50956->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50956->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" - time="2023-07-27T20:08:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" - time="2023-07-27T20:08:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:17Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59147->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59147->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58012->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58012->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40828->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40828->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47956->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47956->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" - time="2023-07-27T20:08:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" - time="2023-07-27T20:08:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:17Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:17Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules889259739/artifact_info file." - time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules889259739/artifact_info" - time="2023-07-27T20:08:17Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.19s) + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:20Z" level=info msg="Handling loaded state: after-reboot" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=error msg="Mender shut down in state: after-reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:20Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35116->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35116->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35806->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35806->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513250936/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules513250936/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41372->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41372->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50662->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50662->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50008->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50008->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47693->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47693->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513250936/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules513250936/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513250936/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules513250936/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34386->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34386->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42062->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42062->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57607->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57607->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43423->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43423->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513250936/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules513250936/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513250936/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules513250936/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:20Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:20Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules513250936/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513250936/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" 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="2023-07-27T20:08:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:17Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59519->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59519->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56223->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56223->[::1]:53: read: connection refused" - time="2023-07-27T20:08:17Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:17Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:17Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219457120/device_type" - time="2023-07-27T20:08:17Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:17Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules219457120/artifact_info file." - time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219457120/artifact_info" - time="2023-07-27T20:08:17Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219457120/artifact_info" - time="2023-07-27T20:08:17Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219457120/device_type" - time="2023-07-27T20:08:17Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" - time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" - time="2023-07-27T20:08:18Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:18Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56718->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56718->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34118->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34118->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60106->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60106->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48933->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48933->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" - time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" - time="2023-07-27T20:08:18Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:18Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44662->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44662->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55322->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55322->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34924->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34924->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40517->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40517->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:18Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" - time="2023-07-27T20:08:18Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" - time="2023-07-27T20:08:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:18Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:18Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46449->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46449->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33536->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33536->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56013->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56013->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35418->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35418->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" - time="2023-07-27T20:08:18Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43225->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43225->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Leave_00': 1: exit status 1" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52495->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52495->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53770->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53770->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50877->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50877->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" - time="2023-07-27T20:08:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" - time="2023-07-27T20:08:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:18Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:18Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48056->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48056->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47906->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47906->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49657->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49657->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34873->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34873->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" - time="2023-07-27T20:08:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" - time="2023-07-27T20:08:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:18Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:18Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules219457120/artifact_info file." - time="2023-07-27T20:08:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219457120/artifact_info" - time="2023-07-27T20:08:18Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:18Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.65s) + time="2023-07-27T20:16:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35234->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35234->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60843->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60843->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules165502145/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules165502145/artifact_info file." + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules165502145/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules165502145/artifact_info" + time="2023-07-27T20:16:20Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules165502145/device_type" + time="2023-07-27T20:16:20Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165502145/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules165502145/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165502145/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules165502145/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49866->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49866->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42052->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42052->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50676->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50676->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53105->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53105->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165502145/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules165502145/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165502145/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules165502145/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:20Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40891->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40891->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42948->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42948->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49410->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49410->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51127->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51127->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:20Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165502145/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules165502145/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165502145/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules165502145/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:20Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:20Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37089->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37089->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52435->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52435->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54321->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54321->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53569->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53569->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165502145/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules165502145/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59444->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59444->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Leave_00': 1: exit status 1" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37692->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37692->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33978->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33978->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44985->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44985->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165502145/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules165502145/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165502145/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules165502145/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:20Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:20Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47213->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47213->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57015->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57015->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34721->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34721->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56258->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56258->[::1]:53: read: connection refused" + time="2023-07-27T20:16:20Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:20Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165502145/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules165502145/work/payloads/0000/tree" + time="2023-07-27T20:16:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165502145/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules165502145/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:21Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:21Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules165502145/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules165502145/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 state_test.go:4717: Killed in ArtifactRollback_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:18Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53299->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53299->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49122->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49122->[::1]:53: read: connection refused" - time="2023-07-27T20:08:18Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:18Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:18Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules320258761/device_type" - time="2023-07-27T20:08:18Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:18Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:18Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules320258761/artifact_info file." - time="2023-07-27T20:08:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules320258761/artifact_info" - time="2023-07-27T20:08:18Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:18Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules320258761/artifact_info" - time="2023-07-27T20:08:18Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules320258761/device_type" - time="2023-07-27T20:08:18Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:18Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" - time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" - time="2023-07-27T20:08:19Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:19Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43988->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43988->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41516->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41516->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59832->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59832->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48132->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48132->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" - time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" - time="2023-07-27T20:08:19Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:19Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46858->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46858->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34577->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34577->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33832->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33832->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40050->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40050->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:19Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" - time="2023-07-27T20:08:19Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" - time="2023-07-27T20:08:19Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:19Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:19Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55511->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55511->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55361->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55361->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55442->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55442->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57024->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57024->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" - time="2023-07-27T20:08:19Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35349->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35349->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35241->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35241->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35813->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35813->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules162060094/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules162060094/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules162060094/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules162060094/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules162060094/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules162060094/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules162060094/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules162060094/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules162060094/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57862->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57862->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43700->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43700->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60697->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60697->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44514->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44514->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules162060094/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules162060094/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules162060094/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules162060094/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53267->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53267->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60836->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60836->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35129->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35129->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50379->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50379->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules162060094/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules162060094/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules162060094/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules162060094/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:21Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51736->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51736->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43816->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43816->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55662->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55662->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48129->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48129->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules162060094/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules162060094/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53353->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53353->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2023-07-27T20:08:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:19Z" level=info msg="Handling loaded state: rollback" - time="2023-07-27T20:08:19Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:19Z" level=error msg="Mender shut down in state: rollback" - time="2023-07-27T20:08:19Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:19Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49013->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49013->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60254->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60254->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" - time="2023-07-27T20:08:19Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47678->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47678->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55463->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55463->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34019->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34019->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60730->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60730->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" - time="2023-07-27T20:08:19Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" - time="2023-07-27T20:08:19Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:19Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:19Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60134->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60134->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38652->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38652->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33360->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33360->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47006->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47006->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" - time="2023-07-27T20:08:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" - time="2023-07-27T20:08:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:19Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:19Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules320258761/artifact_info file." - time="2023-07-27T20:08:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules320258761/artifact_info" - time="2023-07-27T20:08:19Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:19Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.30s) + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:21Z" level=info msg="Handling loaded state: rollback" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=error msg="Mender shut down in state: rollback" + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:21Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56583->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56583->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45623->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45623->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules162060094/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules162060094/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32822->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32822->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35199->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35199->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60557->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60557->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35680->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35680->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules162060094/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules162060094/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules162060094/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules162060094/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47370->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47370->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35019->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35019->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47699->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47699->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52434->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52434->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules162060094/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules162060094/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules162060094/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules162060094/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:21Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:21Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules162060094/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules162060094/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Error in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:19Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45487->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45487->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48615->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48615->[::1]:53: read: connection refused" - time="2023-07-27T20:08:19Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:19Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:19Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules452248038/device_type" - time="2023-07-27T20:08:19Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:19Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:19Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules452248038/artifact_info file." - time="2023-07-27T20:08:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules452248038/artifact_info" - time="2023-07-27T20:08:20Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:20Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules452248038/artifact_info" - time="2023-07-27T20:08:20Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules452248038/device_type" - time="2023-07-27T20:08:20Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:20Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" - time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" - time="2023-07-27T20:08:20Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:20Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:20Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58354->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58354->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37695->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37695->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52243->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52243->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43827->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43827->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" - time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" - time="2023-07-27T20:08:20Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:20Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38557->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38557->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41308->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41308->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39468->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39468->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60397->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60397->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:20Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" - time="2023-07-27T20:08:20Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" - time="2023-07-27T20:08:20Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:20Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:20Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32844->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32844->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59039->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59039->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54430->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54430->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49512->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49512->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" - time="2023-07-27T20:08:20Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50733->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50733->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48174->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48174->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44592->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44592->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37705->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37705->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" - time="2023-07-27T20:08:20Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" - time="2023-07-27T20:08:20Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:20Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:20Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46208->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46208->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Leave_00': 1: exit status 1" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56811->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56811->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51564->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51564->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58735->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58735->[::1]:53: read: connection refused" - time="2023-07-27T20:08:20Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" - time="2023-07-27T20:08:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:20Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" - time="2023-07-27T20:08:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:20Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:20Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:20Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules452248038/artifact_info file." - time="2023-07-27T20:08:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules452248038/artifact_info" - time="2023-07-27T20:08:20Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:20Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.93s) + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35452->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35452->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49721->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49721->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589577215/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules589577215/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589577215/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589577215/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589577215/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589577215/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules589577215/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589577215/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules589577215/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59382->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59382->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60859->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60859->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59112->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59112->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33400->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33400->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589577215/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules589577215/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589577215/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules589577215/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56226->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56226->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51099->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51099->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47595->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47595->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53428->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53428->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589577215/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules589577215/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589577215/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules589577215/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:21Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42407->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42407->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45179->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45179->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34998->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34998->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37321->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37321->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589577215/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules589577215/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33545->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33545->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55636->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55636->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45500->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45500->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52184->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52184->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589577215/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules589577215/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589577215/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules589577215/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50312->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50312->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Leave_00': 1: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41621->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41621->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36623->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36623->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42347->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42347->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589577215/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules589577215/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589577215/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules589577215/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:21Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:21Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules589577215/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589577215/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:21Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:21Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34937->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34937->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35652->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35652->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:21Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:21Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules523581895/device_type" - time="2023-07-27T20:08:21Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:21Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:21Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules523581895/artifact_info file." - time="2023-07-27T20:08:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules523581895/artifact_info" - time="2023-07-27T20:08:21Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:21Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules523581895/artifact_info" - time="2023-07-27T20:08:21Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules523581895/device_type" - time="2023-07-27T20:08:21Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:21Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" - time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" - time="2023-07-27T20:08:21Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:21Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:21Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60331->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60331->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59155->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59155->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40446->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40446->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36757->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36757->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" - time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" - time="2023-07-27T20:08:21Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:21Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40788->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40788->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34078->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34078->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57671->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57671->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36909->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36909->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:21Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" - time="2023-07-27T20:08:21Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" - time="2023-07-27T20:08:21Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:21Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:21Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:21Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58588->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58588->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36024->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36024->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45182->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45182->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60409->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60409->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" - time="2023-07-27T20:08:21Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:21Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53947->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53947->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43445->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43445->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45120->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45120->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32790->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32790->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" - time="2023-07-27T20:08:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" - time="2023-07-27T20:08:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:21Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:21Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56868->[::1]:53: read: connection refused" - time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56868->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55870->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55870->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43746->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43746->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules485677140/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules485677140/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules485677140/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules485677140/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules485677140/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules485677140/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules485677140/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules485677140/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules485677140/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56112->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56112->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54957->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54957->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47895->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47895->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34403->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34403->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules485677140/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules485677140/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules485677140/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules485677140/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50712->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50712->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35042->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35042->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59158->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59158->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43402->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43402->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules485677140/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules485677140/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules485677140/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules485677140/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:21Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37620->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37620->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54237->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54237->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34517->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34517->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57428->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57428->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules485677140/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules485677140/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35402->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35402->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41634->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41634->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38985->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38985->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55987->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55987->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules485677140/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules485677140/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules485677140/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules485677140/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55359->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55359->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 11 (*app.updateVerifyRollbackRebootState) - time="2023-07-27T20:08:22Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:22Z" level=info msg="Handling loaded state: after-rollback-reboot" - time="2023-07-27T20:08:22Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:22Z" level=error msg="Mender shut down in state: after-rollback-reboot" - time="2023-07-27T20:08:22Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:22Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" - time="2023-07-27T20:08:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:22Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:22Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45760->[::1]:53: read: connection refused" - time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45760->[::1]:53: read: connection refused" - time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39899->[::1]:53: read: connection refused" - time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39899->[::1]:53: read: connection refused" - time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44872->[::1]:53: read: connection refused" - time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44872->[::1]:53: read: connection refused" - time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47425->[::1]:53: read: connection refused" - time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47425->[::1]:53: read: connection refused" - time="2023-07-27T20:08:22Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" - time="2023-07-27T20:08:22Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:22Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:22Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" - time="2023-07-27T20:08:22Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:22Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:22Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:22Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules523581895/artifact_info file." - time="2023-07-27T20:08:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules523581895/artifact_info" - time="2023-07-27T20:08:22Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:22Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.19s) + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:21Z" level=info msg="Handling loaded state: after-rollback-reboot" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=error msg="Mender shut down in state: after-rollback-reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules485677140/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules485677140/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53290->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53290->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55371->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55371->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34891->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34891->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40683->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40683->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules485677140/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules485677140/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules485677140/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules485677140/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:21Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:21Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules485677140/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules485677140/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" 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="2023-07-27T20:08:22Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:22Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:22Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:22Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59342->[::1]:53: read: connection refused" - time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59342->[::1]:53: read: connection refused" - time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37891->[::1]:53: read: connection refused" - time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37891->[::1]:53: read: connection refused" - time="2023-07-27T20:08:22Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:22Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:22Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:22Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086292412/device_type" - time="2023-07-27T20:08:22Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:22Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:22Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:22Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules086292412/artifact_info file." - time="2023-07-27T20:08:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086292412/artifact_info" - time="2023-07-27T20:08:22Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:22Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086292412/artifact_info" - time="2023-07-27T20:08:22Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086292412/device_type" - time="2023-07-27T20:08:22Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:22Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:22Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086292412/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules086292412/work/payloads/0000/tree" - time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086292412/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules086292412/work/payloads/0000/tree" - time="2023-07-27T20:08:22Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:22Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:22Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:22Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:22Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33639->[::1]:53: read: connection refused" - time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33639->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43654->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43654->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:23Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52487->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52487->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59552->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59552->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086292412/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules086292412/work/payloads/0000/tree" - time="2023-07-27T20:08:23Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:23Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:23Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:23Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:23Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42571->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42571->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36136->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36136->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:23Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54738->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54738->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49700->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49700->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:23Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086292412/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules086292412/work/payloads/0000/tree" - time="2023-07-27T20:08:23Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:23Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45447->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45447->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56964->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56964->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:23Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41701->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41701->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44361->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44361->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:23Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086292412/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules086292412/work/payloads/0000/tree" - time="2023-07-27T20:08:23Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:23Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Leave_00': 1: exit status 1" - time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:23Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:23Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086292412/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules086292412/work/payloads/0000/tree" - time="2023-07-27T20:08:23Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:23Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:23Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:23Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules086292412/artifact_info file." - time="2023-07-27T20:08:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086292412/artifact_info" - time="2023-07-27T20:08:23Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:23Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.98s) + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34942->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34942->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52655->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52655->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133258701/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules133258701/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133258701/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133258701/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133258701/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133258701/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules133258701/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133258701/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules133258701/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47280->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47280->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47684->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47684->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45292->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45292->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43452->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43452->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133258701/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules133258701/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:21Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41243->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41243->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39612->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39612->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53459->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53459->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45679->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45679->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133258701/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules133258701/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36875->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36875->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40942->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40942->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50167->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50167->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39465->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39465->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133258701/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules133258701/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Leave_00': 1: exit status 1" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133258701/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules133258701/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:21Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:21Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules133258701/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133258701/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 state_test.go:4717: Killed in ArtifactFailure_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:23Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:23Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:23Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:23Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46613->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46613->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56708->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56708->[::1]:53: read: connection refused" - time="2023-07-27T20:08:23Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:23Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:23Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:23Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules129711445/device_type" - time="2023-07-27T20:08:23Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:23Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:23Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:23Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:23Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules129711445/artifact_info file." - time="2023-07-27T20:08:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules129711445/artifact_info" - time="2023-07-27T20:08:23Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:23Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules129711445/artifact_info" - time="2023-07-27T20:08:23Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules129711445/device_type" - time="2023-07-27T20:08:23Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:23Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:23Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:23Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" - time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" - time="2023-07-27T20:08:24Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:24Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:24Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42092->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42092->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45236->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45236->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54898->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54898->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44985->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44985->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" - time="2023-07-27T20:08:24Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:24Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:24Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:24Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44378->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44378->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50501->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50501->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36744->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36744->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54380->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54380->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" - time="2023-07-27T20:08:24Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50992->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50992->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46360->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46360->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43387->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43387->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58551->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58551->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" - time="2023-07-27T20:08:24Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46916->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46916->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51413->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51413->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules409150266/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules409150266/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules409150266/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules409150266/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules409150266/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules409150266/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules409150266/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules409150266/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules409150266/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47832->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47832->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60471->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60471->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49661->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49661->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54524->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54524->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules409150266/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules409150266/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:21Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41824->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41824->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46293->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46293->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54982->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54982->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43106->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43106->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules409150266/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules409150266/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60154->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60154->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38566->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38566->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42941->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42941->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36756->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36756->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules409150266/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules409150266/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 7 (*app.updateErrorState) - time="2023-07-27T20:08:24Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:24Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:24Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:24Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:24Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:24Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40849->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40849->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59189->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59189->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" - time="2023-07-27T20:08:24Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" - time="2023-07-27T20:08:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:24Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:24Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules129711445/artifact_info file." - time="2023-07-27T20:08:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules129711445/artifact_info" - time="2023-07-27T20:08:24Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:24Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.07s) + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:21Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:21Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44810->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44810->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42321->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42321->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules409150266/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules409150266/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules409150266/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules409150266/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:21Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:21Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules409150266/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules409150266/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 state_test.go:4717: Error in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60023->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60023->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37180->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37180->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:24Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:24Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules898679138/device_type" - time="2023-07-27T20:08:24Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:24Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:24Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules898679138/artifact_info file." - time="2023-07-27T20:08:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules898679138/artifact_info" - time="2023-07-27T20:08:24Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:24Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules898679138/artifact_info" - time="2023-07-27T20:08:24Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules898679138/device_type" - time="2023-07-27T20:08:24Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:24Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" - time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" - time="2023-07-27T20:08:24Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:24Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:24Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:24Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42880->[::1]:53: read: connection refused" - time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42880->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39864->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39864->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56488->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56488->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53277->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53277->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" - time="2023-07-27T20:08:25Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:25Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34240->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34240->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35886->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35886->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43123->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43123->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43267->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43267->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:25Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" - time="2023-07-27T20:08:25Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" - time="2023-07-27T20:08:25Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:25Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:08:25Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41851->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41851->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33918->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33918->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39007->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39007->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38391->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38391->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" - time="2023-07-27T20:08:25Z" level=debug msg="Committing new artifact name: artifact-name" - time="2023-07-27T20:08:25Z" level=debug msg="Committing new artifact group name: " - time="2023-07-27T20:08:25Z" level=debug msg="Committing new artifact type-info provides" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:25Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" - time="2023-07-27T20:08:25Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" - time="2023-07-27T20:08:25Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" - time="2023-07-27T20:08:25Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:25Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:25Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:25Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.73s) + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40049->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40049->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47715->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47715->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules490022827/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules490022827/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules490022827/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules490022827/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules490022827/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules490022827/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules490022827/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules490022827/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules490022827/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52082->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52082->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40317->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40317->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51604->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51604->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50289->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50289->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules490022827/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules490022827/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules490022827/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules490022827/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58785->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58785->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57855->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57855->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34569->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34569->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47444->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47444->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules490022827/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules490022827/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules490022827/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules490022827/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50388->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50388->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56814->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56814->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45596->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45596->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55663->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55663->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules490022827/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules490022827/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Committing new artifact name: artifact-name" + time="2023-07-27T20:16:21Z" level=debug msg="Committing new artifact group name: " + time="2023-07-27T20:16:21Z" level=debug msg="Committing new artifact type-info provides" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" + time="2023-07-27T20:16:21Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" + time="2023-07-27T20:16:21Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules490022827/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules490022827/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:21Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:21Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 state_test.go:4717: Killed in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:25Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55871->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55871->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33977->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33977->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:25Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:25Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules464498931/device_type" - time="2023-07-27T20:08:25Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:25Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:25Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:25Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules464498931/artifact_info file." - time="2023-07-27T20:08:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules464498931/artifact_info" - time="2023-07-27T20:08:25Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:25Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules464498931/artifact_info" - time="2023-07-27T20:08:25Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules464498931/device_type" - time="2023-07-27T20:08:25Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:25Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" - time="2023-07-27T20:08:25Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:25Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55454->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55454->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34341->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34341->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48664->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48664->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38217->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38217->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" - time="2023-07-27T20:08:25Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:25Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57274->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57274->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40923->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40923->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51614->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51614->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34337->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34337->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:25Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" - time="2023-07-27T20:08:25Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" - time="2023-07-27T20:08:25Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:25Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:08:25Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37168->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37168->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55522->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55522->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41102->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41102->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39241->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39241->[::1]:53: read: connection refused" - time="2023-07-27T20:08:25Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" - time="2023-07-27T20:08:25Z" level=debug msg="Committing new artifact name: artifact-name" - time="2023-07-27T20:08:25Z" level=debug msg="Committing new artifact group name: " - time="2023-07-27T20:08:25Z" level=debug msg="Committing new artifact type-info provides" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47407->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47407->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43405->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43405->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules355697008/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules355697008/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules355697008/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules355697008/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules355697008/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules355697008/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules355697008/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules355697008/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules355697008/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45594->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45594->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53273->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53273->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34243->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34243->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40945->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40945->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules355697008/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules355697008/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules355697008/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules355697008/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59179->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59179->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59260->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59260->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58954->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58954->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53852->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53852->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules355697008/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules355697008/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules355697008/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules355697008/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57500->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57500->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60657->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60657->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42300->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42300->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60601->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60601->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules355697008/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules355697008/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Committing new artifact name: artifact-name" + time="2023-07-27T20:16:21Z" level=debug msg="Committing new artifact group name: " + time="2023-07-27T20:16:21Z" level=debug msg="Committing new artifact type-info provides" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 11 (*app.updateAfterCommitState) - time="2023-07-27T20:08:25Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:25Z" level=info msg="Handling loaded state: update-after-commit" - time="2023-07-27T20:08:25Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:25Z" level=error msg="Mender shut down in state: update-after-commit" - time="2023-07-27T20:08:25Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:26Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" - time="2023-07-27T20:08:26Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2023-07-27T20:08:26Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:26Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:26Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.06s) + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:21Z" level=info msg="Handling loaded state: update-after-commit" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=error msg="Mender shut down in state: update-after-commit" + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules355697008/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules355697008/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:21Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:21Z" 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="2023-07-27T20:08:26Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50736->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50736->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54140->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54140->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:26Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:26Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules664493656/device_type" - time="2023-07-27T20:08:26Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:26Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:26Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:26Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules664493656/artifact_info file." - time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules664493656/artifact_info" - time="2023-07-27T20:08:26Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:26Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules664493656/artifact_info" - time="2023-07-27T20:08:26Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules664493656/device_type" - time="2023-07-27T20:08:26Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:26Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664493656/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules664493656/work/payloads/0000/tree" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664493656/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules664493656/work/payloads/0000/tree" - time="2023-07-27T20:08:26Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:26Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59776->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59776->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56742->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56742->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48027->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48027->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39387->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39387->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664493656/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules664493656/work/payloads/0000/tree" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664493656/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules664493656/work/payloads/0000/tree" - time="2023-07-27T20:08:26Z" level=debug msg="Update module output: No" - time="2023-07-27T20:08:26Z" level=debug msg="Module does not need reboot" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48342->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48342->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48407->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48407->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49506->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49506->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60021->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60021->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664493656/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules664493656/work/payloads/0000/tree" - time="2023-07-27T20:08:26Z" level=debug msg="Committing new artifact name: artifact-name" - time="2023-07-27T20:08:26Z" level=debug msg="Committing new artifact group name: " - time="2023-07-27T20:08:26Z" level=debug msg="Committing new artifact type-info provides" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:26Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" - time="2023-07-27T20:08:26Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" - time="2023-07-27T20:08:26Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664493656/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules664493656/work/payloads/0000/tree" - time="2023-07-27T20:08:26Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:26Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:26Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:26Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.42s) + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55357->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55357->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56712->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56712->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847433497/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules847433497/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847433497/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847433497/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules847433497/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847433497/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules847433497/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847433497/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules847433497/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42960->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42960->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49064->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49064->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39983->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39983->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35184->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35184->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847433497/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules847433497/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847433497/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules847433497/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:21Z" level=debug msg="Module does not need reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39809->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39809->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51719->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51719->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47865->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47865->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56243->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56243->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847433497/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules847433497/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Committing new artifact name: artifact-name" + time="2023-07-27T20:16:21Z" level=debug msg="Committing new artifact group name: " + time="2023-07-27T20:16:21Z" level=debug msg="Committing new artifact type-info provides" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" + time="2023-07-27T20:16:21Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" + time="2023-07-27T20:16:21Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules847433497/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules847433497/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:21Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:21Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot state_test.go:4717: Killed in ArtifactCommit_Leave_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:26Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53613->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53613->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36772->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36772->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:26Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:26Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules459479073/device_type" - time="2023-07-27T20:08:26Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:26Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:26Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:26Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules459479073/artifact_info file." - time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules459479073/artifact_info" - time="2023-07-27T20:08:26Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:26Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules459479073/artifact_info" - time="2023-07-27T20:08:26Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules459479073/device_type" - time="2023-07-27T20:08:26Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:26Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:26Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules459479073/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules459479073/work/payloads/0000/tree" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules459479073/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules459479073/work/payloads/0000/tree" - time="2023-07-27T20:08:26Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:26Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56220->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56220->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37225->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37225->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52423->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52423->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38561->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38561->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules459479073/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules459479073/work/payloads/0000/tree" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules459479073/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules459479073/work/payloads/0000/tree" - time="2023-07-27T20:08:26Z" level=debug msg="Update module output: No" - time="2023-07-27T20:08:26Z" level=debug msg="Module does not need reboot" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35831->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35831->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35100->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35100->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46305->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46305->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34266->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34266->[::1]:53: read: connection refused" - time="2023-07-27T20:08:26Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules459479073/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules459479073/work/payloads/0000/tree" - time="2023-07-27T20:08:26Z" level=debug msg="Committing new artifact name: artifact-name" - time="2023-07-27T20:08:26Z" level=debug msg="Committing new artifact group name: " - time="2023-07-27T20:08:26Z" level=debug msg="Committing new artifact type-info provides" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38056->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38056->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35900->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35900->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656318070/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules656318070/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656318070/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656318070/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules656318070/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656318070/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules656318070/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656318070/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules656318070/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36994->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36994->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43872->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43872->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35274->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35274->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50164->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50164->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656318070/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules656318070/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656318070/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules656318070/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: No" + time="2023-07-27T20:16:21Z" level=debug msg="Module does not need reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53628->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53628->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37589->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37589->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55233->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55233->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53777->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53777->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656318070/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules656318070/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Committing new artifact name: artifact-name" + time="2023-07-27T20:16:21Z" level=debug msg="Committing new artifact group name: " + time="2023-07-27T20:16:21Z" level=debug msg="Committing new artifact type-info provides" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateAfterCommitState) - time="2023-07-27T20:08:27Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:27Z" level=info msg="Handling loaded state: update-after-commit" - time="2023-07-27T20:08:27Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:27Z" level=error msg="Mender shut down in state: update-after-commit" - time="2023-07-27T20:08:27Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2023-07-27T20:08:27Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:27Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:27Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules459479073/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules459479073/work/payloads/0000/tree" - time="2023-07-27T20:08:27Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2023-07-27T20:08:27Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:27Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:27Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.02s) + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:21Z" level=info msg="Handling loaded state: update-after-commit" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=error msg="Mender shut down in state: update-after-commit" + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules656318070/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules656318070/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:21Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:21Z" 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="2023-07-27T20:08:27Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:27Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:27Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:27Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54948->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54948->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43026->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43026->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:27Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:27Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:27Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules758453278/device_type" - time="2023-07-27T20:08:27Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:27Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:27Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules758453278/artifact_info file." - time="2023-07-27T20:08:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules758453278/artifact_info" - time="2023-07-27T20:08:27Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:27Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules758453278/artifact_info" - time="2023-07-27T20:08:27Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules758453278/device_type" - time="2023-07-27T20:08:27Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:27Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:27Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:27Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:27Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:27Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:27Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42984->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42984->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45561->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45561->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59129->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59129->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45073->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45073->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:27Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:27Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:27Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56673->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56673->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47262->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47262->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:27Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57428->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57428->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48419->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48419->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:27Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:27Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:27Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:27Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:27Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:27Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:27Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35234->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35234->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34159->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34159->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:27Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57040->[::1]:53: read: connection refused" - time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57040->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34864->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34864->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47059->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47059->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53517->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53517->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57698->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57698->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45764->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45764->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41108->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41108->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46752->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46752->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45526->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45526->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45240->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45240->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53923->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53923->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59611->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59611->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49595->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49595->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60140->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60140->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40398->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40398->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34585->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34585->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42799->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42799->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39312->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39312->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34484->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34484->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37041->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37041->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40461->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40461->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54316->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54316->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50368->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50368->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34545->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34545->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58788->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58788->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57656->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57656->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39934->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39934->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37335->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37335->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46811->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46811->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47302->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47302->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45882->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45882->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59776->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59776->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53400->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53400->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53761->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53761->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48705->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48705->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49026->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49026->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42987->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42987->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54456->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54456->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38733->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38733->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54735->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54735->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42566->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42566->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44740->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44740->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52203->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52203->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53097->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53097->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37404->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37404->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37799->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37799->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59860->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59860->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52390->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52390->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59336->[::1]:53: read: connection refused" - time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59336->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37055->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37055->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37306->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37306->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56346->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56346->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53481->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53481->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46437->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46437->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33650->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33650->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50280->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50280->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50252->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50252->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57084->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57084->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37069->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37069->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50473->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50473->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41381->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41381->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37644->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37644->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35904->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35904->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37570->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37570->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51536->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51536->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48199->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48199->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42726->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42726->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56805->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56805->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35694->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35694->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45136->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45136->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42779->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42779->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38734->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38734->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38310->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38310->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38523->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38523->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34843->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34843->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33076->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33076->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52288->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52288->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60569->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60569->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53134->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53134->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39154->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39154->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43077->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43077->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51004->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51004->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36998->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36998->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44802->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44802->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32996->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32996->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50177->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50177->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42274->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42274->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45734->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45734->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44517->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44517->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45106->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45106->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55276->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55276->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49698->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49698->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53654->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53654->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44269->[::1]:53: read: connection refused" - time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44269->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45331->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45331->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33166->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33166->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43219->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43219->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35889->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35889->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59562->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59562->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53415->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53415->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60722->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60722->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60390->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60390->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35271->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35271->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58257->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58257->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42923->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42923->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58461->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58461->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57706->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57706->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41871->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41871->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45822->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45822->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40301->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40301->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49043->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49043->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42627->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42627->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43030->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43030->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48621->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48621->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57989->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57989->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49261->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49261->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39372->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39372->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35887->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35887->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38041->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38041->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39919->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39919->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47928->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47928->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50461->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50461->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38874->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38874->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Could not write state data to persistent storage: State data stored and retrieved maximum number of times" - time="2023-07-27T20:08:30Z" level=error msg="State transition loop detected in state rollback-reboot: Forcefully aborting update. The system is likely to be in an inconsistent state after this." - time="2023-07-27T20:08:30Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> update-status-report [none]" - time="2023-07-27T20:08:30Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:30Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:30Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:30Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (3.25s) + time="2023-07-27T20:16:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43194->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43194->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38379->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38379->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules725629335/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules725629335/artifact_info file." + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules725629335/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules725629335/artifact_info" + time="2023-07-27T20:16:21Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules725629335/device_type" + time="2023-07-27T20:16:21Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36222->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36222->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40938->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40938->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49932->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49932->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50055->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50055->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:21Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60669->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60669->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36090->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36090->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32811->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32811->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36105->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36105->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:21Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39779->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39779->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49794->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49794->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49741->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49741->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60159->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60159->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56707->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56707->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40156->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40156->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39931->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39931->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39575->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39575->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50432->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50432->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42413->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42413->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34014->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34014->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50471->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50471->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43006->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43006->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58472->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58472->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48216->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48216->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56148->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56148->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36962->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36962->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55044->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55044->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34209->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34209->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52387->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52387->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60925->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60925->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46306->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46306->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49680->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49680->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60440->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60440->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44919->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44919->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34459->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34459->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37212->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37212->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55996->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55996->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47058->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47058->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35952->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35952->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58185->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58185->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35241->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35241->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38966->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38966->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37626->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37626->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34320->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34320->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55181->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55181->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59364->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59364->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55453->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55453->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34232->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34232->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46987->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46987->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54125->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54125->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33893->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33893->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51872->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51872->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50204->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50204->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:21Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52568->[::1]:53: read: connection refused" + time="2023-07-27T20:16:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52568->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46184->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46184->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43495->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43495->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45962->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45962->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42914->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42914->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36075->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36075->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39855->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39855->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53052->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53052->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56929->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56929->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44167->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44167->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50134->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50134->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33622->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33622->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41967->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41967->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42185->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42185->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45982->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45982->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45228->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45228->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47947->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47947->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34398->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34398->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37294->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37294->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56162->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56162->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60761->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60761->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57673->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57673->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51042->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51042->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57205->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57205->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59165->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59165->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33635->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33635->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42925->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42925->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37051->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37051->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39705->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39705->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53963->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53963->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46772->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46772->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55564->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55564->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53496->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53496->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44976->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44976->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41633->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41633->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41434->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41434->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37165->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37165->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49739->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49739->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38742->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38742->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37615->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37615->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46564->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46564->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43041->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43041->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57093->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57093->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46740->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46740->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40271->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40271->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50368->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50368->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48615->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48615->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47557->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47557->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33908->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33908->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40041->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40041->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40070->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40070->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48386->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48386->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36134->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36134->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53500->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53500->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40796->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40796->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49056->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49056->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45706->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45706->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42401->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42401->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49762->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49762->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43294->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43294->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54432->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54432->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44299->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44299->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49487->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49487->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48203->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48203->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39778->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39778->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37780->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37780->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33586->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33586->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48972->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48972->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52384->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52384->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40754->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40754->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49438->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49438->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43977->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43977->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45356->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45356->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40625->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40625->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42789->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42789->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37812->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37812->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42504->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42504->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59570->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59570->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42289->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42289->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44890->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44890->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules725629335/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules725629335/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57998->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57998->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49057->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49057->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Could not write state data to persistent storage: State data stored and retrieved maximum number of times" + time="2023-07-27T20:16:22Z" level=error msg="State transition loop detected in state rollback-reboot: Forcefully aborting update. The system is likely to be in an inconsistent state after this." + time="2023-07-27T20:16:22Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> update-status-report [none]" + time="2023-07-27T20:16:22Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:22Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:22Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:22Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.40s) PASS === RUN TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop state_test.go:4717: Break out of spontaneous reboot loop state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:30Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:30Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48594->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48594->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52342->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52342->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:30Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:30Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:30Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules389287007/device_type" - time="2023-07-27T20:08:30Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:30Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:30Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:30Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules389287007/artifact_info file." - time="2023-07-27T20:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules389287007/artifact_info" - time="2023-07-27T20:08:30Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:30Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules389287007/artifact_info" - time="2023-07-27T20:08:30Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules389287007/device_type" - time="2023-07-27T20:08:30Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:30Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:30Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:30Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:30Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54192->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54192->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48228->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48228->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49331->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49331->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47531->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47531->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" - time="2023-07-27T20:08:30Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:30Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:30Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43231->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43231->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41489->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41489->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53688->[::1]:53: read: connection refused" - time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53688->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53135->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53135->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:31Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" - time="2023-07-27T20:08:31Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" - time="2023-07-27T20:08:31Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:31Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2023-07-27T20:08:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57763->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57763->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60145->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60145->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52890->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52890->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52711->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52711->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" - time="2023-07-27T20:08:31Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:08:31Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59618->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59618->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33175->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33175->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53163->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53163->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43478->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43478->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" - time="2023-07-27T20:08:31Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" - time="2023-07-27T20:08:31Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:08:31Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:08:31Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46596->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46596->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46759->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46759->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58629->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58629->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48101->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48101->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:22Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47505->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47505->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36430->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36430->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:22Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules547629004/device_type" + time="2023-07-27T20:16:22Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:22Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:22Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:22Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules547629004/artifact_info file." + time="2023-07-27T20:16:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules547629004/artifact_info" + time="2023-07-27T20:16:22Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:22Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules547629004/artifact_info" + time="2023-07-27T20:16:22Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules547629004/device_type" + time="2023-07-27T20:16:22Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:22Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:22Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:22Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:22Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35760->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35760->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57367->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57367->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46146->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46146->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33993->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33993->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:22Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:22Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37549->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37549->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49903->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49903->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36384->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36384->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41310->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41310->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2023-07-27T20:16:22Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56041->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56041->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38455->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38455->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60128->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60128->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56944->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56944->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37770->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37770->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50882->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50882->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46087->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46087->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59661->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59661->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:22Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:22Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42735->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42735->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59379->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59379->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50781->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50781->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50865->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50865->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 11 (*app.updateErrorState) - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51543->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51543->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41523->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41523->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43378->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43378->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55213->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55213->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 12 (*app.updateErrorState) - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43590->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43590->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36109->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36109->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43914->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43914->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54335->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54335->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 13 (*app.updateErrorState) - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46709->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46709->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57110->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57110->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55584->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55584->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50562->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50562->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 14 (*app.updateErrorState) - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51516->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51516->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33592->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33592->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37886->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37886->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56926->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56926->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 15 (*app.updateErrorState) - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36153->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36153->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38362->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38362->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47155->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47155->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34942->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34942->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 16 (*app.updateErrorState) - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43358->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43358->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42374->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42374->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53469->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53469->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41646->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41646->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 17 (*app.updateErrorState) - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46880->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46880->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53290->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53290->[::1]:53: read: connection refused" - time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44979->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44979->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49130->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49130->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 18 (*app.updateErrorState) - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44919->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44919->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52899->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52899->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48573->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48573->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60624->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60624->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 19 (*app.updateErrorState) - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49006->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49006->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47144->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47144->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43860->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43860->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56013->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56013->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 20 (*app.updateErrorState) - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56301->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56301->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50843->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50843->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38201->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38201->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40678->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40678->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 21 (*app.updateErrorState) - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34783->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34783->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56139->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56139->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58812->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58812->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60651->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60651->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 22 (*app.updateErrorState) - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49923->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49923->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57385->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57385->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34495->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34495->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49343->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49343->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 23 (*app.updateErrorState) - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36913->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36913->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51644->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51644->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50272->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50272->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44272->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44272->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 24 (*app.updateErrorState) - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51215->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51215->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42988->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42988->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47941->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47941->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55988->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55988->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 25 (*app.updateErrorState) - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46144->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46144->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32954->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32954->[::1]:53: read: connection refused" - time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57438->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57438->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44952->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44952->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 26 (*app.updateErrorState) - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44990->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44990->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48420->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48420->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57930->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57930->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59860->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59860->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 27 (*app.updateErrorState) - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45135->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45135->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59925->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59925->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34817->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34817->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49499->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49499->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 28 (*app.updateErrorState) - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34154->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34154->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49610->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49610->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39883->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39883->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60460->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60460->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 29 (*app.updateErrorState) - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54865->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54865->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34249->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34249->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41208->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41208->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46343->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46343->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 30 (*app.updateErrorState) - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44736->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44736->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41980->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41980->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53312->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53312->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44560->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44560->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 31 (*app.updateErrorState) - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49429->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49429->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56390->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56390->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53317->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53317->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36039->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36039->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 32 (*app.updateErrorState) - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44932->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44932->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33842->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33842->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43359->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43359->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46028->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46028->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 33 (*app.updateErrorState) - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39286->[::1]:53: read: connection refused" - time="2023-07-27T20:08:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39286->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37806->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37806->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49381->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49381->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58486->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58486->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 34 (*app.updateErrorState) - time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:34Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:34Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:34Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48285->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48285->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57073->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57073->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45850->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45850->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44741->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44741->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 35 (*app.updateErrorState) - time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:34Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:34Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:34Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40739->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40739->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48537->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48537->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44741->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44741->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46193->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46193->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 36 (*app.updateErrorState) - time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:34Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:34Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:34Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56225->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56225->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51101->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51101->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57742->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57742->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54214->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54214->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 37 (*app.updateErrorState) - time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:34Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:34Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:34Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48819->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48819->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55657->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55657->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51616->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51616->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58075->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58075->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 38 (*app.updateErrorState) - time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:34Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:34Z" level=error msg="Mender shut down in state: update-error" - time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:34Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47742->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47742->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35325->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35325->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="Mender shut down in state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:22Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51736->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51736->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58424->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58424->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules547629004/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules547629004/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 39 (*app.updateStatusReportState) - time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> init [none]" - time="2023-07-27T20:08:34Z" level=info msg="Handling loaded state: update-error" - time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:34Z" level=error msg="State transition loop detected in state update-error: Forcefully aborting update. The system is likely to be in an inconsistent state after this." - time="2023-07-27T20:08:34Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-status-report [none]" - time="2023-07-27T20:08:34Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:34Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:34Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:34Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2023-07-27T20:16:22Z" level=info msg="Handling loaded state: update-error" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=error msg="State transition loop detected in state update-error: Forcefully aborting update. The system is likely to be in an inconsistent state after this." + time="2023-07-27T20:16:22Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-status-report [none]" + time="2023-07-27T20:16:22Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:22Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:22Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:22Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.00s) PASS === RUN TestStateTransitionsWithUpdateModules/Hang_in_Download_state state_test.go:4717: Hang in Download state state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:34Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:34Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41085->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41085->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37279->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37279->[::1]:53: read: connection refused" - time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:34Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:34Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:34Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules634206260/device_type" - time="2023-07-27T20:08:34Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:34Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:34Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules634206260/artifact_info file." - time="2023-07-27T20:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules634206260/artifact_info" - time="2023-07-27T20:08:34Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:34Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules634206260/artifact_info" - time="2023-07-27T20:08:34Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules634206260/device_type" - time="2023-07-27T20:08:34Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:34Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules634206260/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules634206260/work/payloads/0000/tree" - time="2023-07-27T20:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:40Z" level=error msg="Process 1878792 timed out. Sending SIGTERM" - time="2023-07-27T20:08:40Z" level=error msg="Artifact install failed: Update module terminated abnormally: signal: terminated" - time="2023-07-27T20:08:40Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" - time="2023-07-27T20:08:40Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:40Z" level=debug msg="Executing script: Download_Error_00" - time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:40Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules634206260/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules634206260/work/payloads/0000/tree" - time="2023-07-27T20:08:40Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:40Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:40Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:40Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules634206260/artifact_info file." - time="2023-07-27T20:08:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules634206260/artifact_info" - time="2023-07-27T20:08:40Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:40Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (5.87s) + time="2023-07-27T20:16:22Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:22Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:22Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33215->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33215->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36576->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36576->[::1]:53: read: connection refused" + time="2023-07-27T20:16:22Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:22Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:22Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:22Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules218418853/device_type" + time="2023-07-27T20:16:22Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:22Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:22Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:22Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules218418853/artifact_info file." + time="2023-07-27T20:16:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules218418853/artifact_info" + time="2023-07-27T20:16:22Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:22Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules218418853/artifact_info" + time="2023-07-27T20:16:22Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules218418853/device_type" + time="2023-07-27T20:16:22Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:22Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:22Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules218418853/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules218418853/work/payloads/0000/tree" + time="2023-07-27T20:16:22Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:27Z" level=error msg="Process 3370414 timed out. Sending SIGTERM" + time="2023-07-27T20:16:27Z" level=error msg="Artifact install failed: Update module terminated abnormally: signal: terminated" + time="2023-07-27T20:16:27Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" + time="2023-07-27T20:16:27Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:27Z" level=debug msg="Executing script: Download_Error_00" + time="2023-07-27T20:16:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:27Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules218418853/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules218418853/work/payloads/0000/tree" + time="2023-07-27T20:16:27Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:27Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:27Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:27Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules218418853/artifact_info file." + time="2023-07-27T20:16:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules218418853/artifact_info" + time="2023-07-27T20:16:27Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:27Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (5.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall state_test.go:4717: Hang in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:40Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:40Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:40Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:40Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57964->[::1]:53: read: connection refused" - time="2023-07-27T20:08:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57964->[::1]:53: read: connection refused" - time="2023-07-27T20:08:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45415->[::1]:53: read: connection refused" - time="2023-07-27T20:08:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45415->[::1]:53: read: connection refused" - time="2023-07-27T20:08:40Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:40Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:40Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:40Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules849125677/device_type" - time="2023-07-27T20:08:40Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:40Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:40Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:40Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules849125677/artifact_info file." - time="2023-07-27T20:08:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules849125677/artifact_info" - time="2023-07-27T20:08:40Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:40Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules849125677/artifact_info" - time="2023-07-27T20:08:40Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules849125677/device_type" - time="2023-07-27T20:08:40Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:40Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules849125677/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules849125677/work/payloads/0000/tree" - time="2023-07-27T20:08:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules849125677/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules849125677/work/payloads/0000/tree" - time="2023-07-27T20:08:40Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:40Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:40Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:40Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:40Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50412->[::1]:53: read: connection refused" - time="2023-07-27T20:08:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50412->[::1]:53: read: connection refused" - time="2023-07-27T20:08:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37705->[::1]:53: read: connection refused" - time="2023-07-27T20:08:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37705->[::1]:53: read: connection refused" - time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:40Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60760->[::1]:53: read: connection refused" - time="2023-07-27T20:08:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60760->[::1]:53: read: connection refused" - time="2023-07-27T20:08:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42353->[::1]:53: read: connection refused" - time="2023-07-27T20:08:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42353->[::1]:53: read: connection refused" - time="2023-07-27T20:08:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules849125677/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules849125677/work/payloads/0000/tree" - time="2023-07-27T20:08:45Z" level=error msg="Process 1879435 timed out. Sending SIGTERM" - time="2023-07-27T20:08:45Z" level=error msg="Update module terminated abnormally: signal: terminated" - time="2023-07-27T20:08:45Z" level=error msg="transient error: Update module terminated abnormally: signal: terminated" - time="2023-07-27T20:08:45Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2023-07-27T20:08:45Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:45Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58413->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58413->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42678->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42678->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:45Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44810->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44810->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49999->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49999->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=info msg="Performing rollback" - time="2023-07-27T20:08:45Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:08:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules849125677/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules849125677/work/payloads/0000/tree" - time="2023-07-27T20:08:45Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:45Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50700->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50700->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34282->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34282->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:45Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58066->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58066->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56742->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56742->[::1]:53: read: connection refused" - time="2023-07-27T20:08:45Z" level=debug msg="Handle update error state" - time="2023-07-27T20:08:45Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:08:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules849125677/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules849125677/work/payloads/0000/tree" - time="2023-07-27T20:08:45Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:45Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:45Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules849125677/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules849125677/work/payloads/0000/tree" - time="2023-07-27T20:08:45Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:45Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:45Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:08:45Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules849125677/artifact_info file." - time="2023-07-27T20:08:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules849125677/artifact_info" - time="2023-07-27T20:08:45Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:45Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (5.39s) + time="2023-07-27T20:16:27Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:27Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:27Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:27Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51053->[::1]:53: read: connection refused" + time="2023-07-27T20:16:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51053->[::1]:53: read: connection refused" + time="2023-07-27T20:16:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37089->[::1]:53: read: connection refused" + time="2023-07-27T20:16:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37089->[::1]:53: read: connection refused" + time="2023-07-27T20:16:27Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:27Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:27Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:27Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules303949042/device_type" + time="2023-07-27T20:16:27Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:27Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:27Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:27Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules303949042/artifact_info file." + time="2023-07-27T20:16:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules303949042/artifact_info" + time="2023-07-27T20:16:27Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:27Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules303949042/artifact_info" + time="2023-07-27T20:16:27Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules303949042/device_type" + time="2023-07-27T20:16:27Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:27Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303949042/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules303949042/work/payloads/0000/tree" + time="2023-07-27T20:16:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303949042/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules303949042/work/payloads/0000/tree" + time="2023-07-27T20:16:27Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:27Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:27Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:27Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:27Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46877->[::1]:53: read: connection refused" + time="2023-07-27T20:16:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46877->[::1]:53: read: connection refused" + time="2023-07-27T20:16:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56502->[::1]:53: read: connection refused" + time="2023-07-27T20:16:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56502->[::1]:53: read: connection refused" + time="2023-07-27T20:16:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39765->[::1]:53: read: connection refused" + time="2023-07-27T20:16:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39765->[::1]:53: read: connection refused" + time="2023-07-27T20:16:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37319->[::1]:53: read: connection refused" + time="2023-07-27T20:16:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37319->[::1]:53: read: connection refused" + time="2023-07-27T20:16:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303949042/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules303949042/work/payloads/0000/tree" + time="2023-07-27T20:16:32Z" level=error msg="Process 3370433 timed out. Sending SIGTERM" + time="2023-07-27T20:16:32Z" level=error msg="Update module terminated abnormally: signal: terminated" + time="2023-07-27T20:16:32Z" level=error msg="transient error: Update module terminated abnormally: signal: terminated" + time="2023-07-27T20:16:32Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:32Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16: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]:60387->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:60387->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:60898->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:60898->[::1]:53: read: connection refused" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16: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]:35894->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:35894->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:48454->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:48454->[::1]:53: read: connection refused" + time="2023-07-27T20:16:32Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:32Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303949042/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules303949042/work/payloads/0000/tree" + time="2023-07-27T20:16:32Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16: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]:50025->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:50025->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:43352->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:43352->[::1]:53: read: connection refused" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16: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]:53916->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:53916->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:38395->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:38395->[::1]:53: read: connection refused" + time="2023-07-27T20:16:32Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:32Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303949042/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules303949042/work/payloads/0000/tree" + time="2023-07-27T20:16:32Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303949042/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules303949042/work/payloads/0000/tree" + time="2023-07-27T20:16:32Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:32Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:32Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules303949042/artifact_info file." + time="2023-07-27T20:16:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules303949042/artifact_info" + time="2023-07-27T20:16:32Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:32Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (5.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot state_test.go:4717: Temporary failure in report sending after reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:46Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:46Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33357->[::1]:53: read: connection refused" - time="2023-07-27T20:08:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33357->[::1]:53: read: connection refused" - time="2023-07-27T20:08:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58071->[::1]:53: read: connection refused" - time="2023-07-27T20:08:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58071->[::1]:53: read: connection refused" - time="2023-07-27T20:08:46Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:46Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:46Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964186138/device_type" - time="2023-07-27T20:08:46Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:46Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:46Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:48Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules964186138/artifact_info file." - time="2023-07-27T20:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964186138/artifact_info" - time="2023-07-27T20:08:48Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:48Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964186138/artifact_info" - time="2023-07-27T20:08:48Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964186138/device_type" - time="2023-07-27T20:08:48Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:48Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" - time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" - time="2023-07-27T20:08:49Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:49Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:49Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36645->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36645->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59157->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59157->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32936->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32936->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34413->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34413->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" - time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" - time="2023-07-27T20:08:49Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:49Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46325->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46325->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49086->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49086->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:49Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41245->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41245->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37510->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37510->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:49Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" - time="2023-07-27T20:08:49Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" - time="2023-07-27T20:08:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:49Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:08:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:49Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52245->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52245->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51430->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51430->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:49Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52472->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52472->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40218->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40218->[::1]:53: read: connection refused" - time="2023-07-27T20:08:49Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:08:49Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2023-07-27T20:08:49Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2023-07-27T20:08:54Z" level=debug msg="Wait complete" - time="2023-07-27T20:08:54Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:54Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:08:54Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2023-07-27T20:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" - time="2023-07-27T20:08:54Z" level=debug msg="Committing new artifact name: artifact-name" - time="2023-07-27T20:08:54Z" level=debug msg="Committing new artifact group name: " - time="2023-07-27T20:08:54Z" level=debug msg="Committing new artifact type-info provides" - time="2023-07-27T20:08:54Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2023-07-27T20:08:54Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2023-07-27T20:08:54Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2023-07-27T20:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:54Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:54Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:08:54Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" - time="2023-07-27T20:08:54Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2023-07-27T20:08:54Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:08:54Z" level=debug msg="Reporting complete" - time="2023-07-27T20:08:54Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (8.28s) + time="2023-07-27T20:16:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16: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]:38671->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:38671->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:38304->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:38304->[::1]:53: read: connection refused" + time="2023-07-27T20:16:32Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:32Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:32Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules518826435/device_type" + time="2023-07-27T20:16:32Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:32Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:32Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:32Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules518826435/artifact_info file." + time="2023-07-27T20:16:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules518826435/artifact_info" + time="2023-07-27T20:16:32Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:32Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules518826435/artifact_info" + time="2023-07-27T20:16:32Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules518826435/device_type" + time="2023-07-27T20:16:32Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:32Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules518826435/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules518826435/work/payloads/0000/tree" + time="2023-07-27T20:16:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules518826435/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules518826435/work/payloads/0000/tree" + time="2023-07-27T20:16:32Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:32Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16: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]:48101->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:48101->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:38209->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:38209->[::1]:53: read: connection refused" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16: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]:41916->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:41916->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:36859->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:36859->[::1]:53: read: connection refused" + time="2023-07-27T20:16:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules518826435/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules518826435/work/payloads/0000/tree" + time="2023-07-27T20:16:32Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules518826435/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules518826435/work/payloads/0000/tree" + time="2023-07-27T20:16:32Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:32Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:32Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16: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]:43232->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:43232->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:57662->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:57662->[::1]:53: read: connection refused" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16: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]:33502->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:33502->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:57199->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:57199->[::1]:53: read: connection refused" + time="2023-07-27T20:16:32Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:32Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:32Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules518826435/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules518826435/work/payloads/0000/tree" + time="2023-07-27T20:16:32Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:32Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules518826435/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules518826435/work/payloads/0000/tree" + time="2023-07-27T20:16:32Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:32Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:32Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16: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]:59690->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:59690->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:35291->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:35291->[::1]:53: read: connection refused" + time="2023-07-27T20:16:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:32Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16: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]:52317->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:52317->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:50573->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:50573->[::1]:53: read: connection refused" + time="2023-07-27T20:16:32Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:32Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2023-07-27T20:16:32Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2023-07-27T20:16:37Z" level=debug msg="Wait complete" + time="2023-07-27T20:16:37Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:37Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:37Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2023-07-27T20:16:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules518826435/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules518826435/work/payloads/0000/tree" + time="2023-07-27T20:16:37Z" level=debug msg="Committing new artifact name: artifact-name" + time="2023-07-27T20:16:37Z" level=debug msg="Committing new artifact group name: " + time="2023-07-27T20:16:37Z" level=debug msg="Committing new artifact type-info provides" + time="2023-07-27T20:16:37Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2023-07-27T20:16:37Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2023-07-27T20:16:37Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2023-07-27T20:16:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:37Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:37Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules518826435/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules518826435/work/payloads/0000/tree" + time="2023-07-27T20:16:37Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2023-07-27T20:16:37Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:37Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:37Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (5.06s) PASS === RUN TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot state_test.go:4717: Permanent failure in report sending after reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2023-07-27T20:08:54Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2023-07-27T20:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:54Z" level=debug msg="Handle update check state" - time="2023-07-27T20:08:54Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2023-07-27T20:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:54Z" level=debug msg="Executing script: Download_Enter_00" - time="2023-07-27T20:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49469->[::1]:53: read: connection refused" - time="2023-07-27T20:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49469->[::1]:53: read: connection refused" - time="2023-07-27T20:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43208->[::1]:53: read: connection refused" - time="2023-07-27T20:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43208->[::1]:53: read: connection refused" - time="2023-07-27T20:08:54Z" level=info msg="Running Mender client version: unknown" - time="2023-07-27T20:08:54Z" level=debug msg="Handling update fetch state" - time="2023-07-27T20:08:54Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2023-07-27T20:08:54Z" level=debug msg="Handling update install state" - time="2023-07-27T20:08:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules965332491/device_type" - time="2023-07-27T20:08:54Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:54Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:54Z" level=info msg="No public key was provided for authenticating the artifact" - time="2023-07-27T20:08:54Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2023-07-27T20:08:54Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2023-07-27T20:08:54Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules965332491/artifact_info file." - time="2023-07-27T20:08:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules965332491/artifact_info" - time="2023-07-27T20:08:54Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:54Z" level=debug msg="Current manifest data: old_name" - time="2023-07-27T20:08:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules965332491/artifact_info" - time="2023-07-27T20:08:54Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:08:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules965332491/device_type" - time="2023-07-27T20:08:54Z" level=debug msg="device_type=test-device" - time="2023-07-27T20:08:54Z" level=debug msg="Current manifest data: test-device" - time="2023-07-27T20:08:54Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2023-07-27T20:08:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" - time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2023-07-27T20:08:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" - time="2023-07-27T20:08:55Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:55Z" level=debug msg="Module supports rollback" - time="2023-07-27T20:08:55Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2023-07-27T20:08:55Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2023-07-27T20:08:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:55Z" level=debug msg="Executing script: Download_Leave_00" - time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40751->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40751->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51865->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51865->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:55Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43497->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43497->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42201->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42201->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2023-07-27T20:08:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" - time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2023-07-27T20:08:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" - time="2023-07-27T20:08:55Z" level=debug msg="Update module output: Yes" - time="2023-07-27T20:08:55Z" level=debug msg="Module needs custom reboot" - time="2023-07-27T20:08:55Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2023-07-27T20:08:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:55Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46201->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46201->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54174->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54174->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:55Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39968->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39968->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43089->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43089->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=debug msg="Handling reboot state" - time="2023-07-27T20:08:55Z" level=info msg="Rebooting device(s)" - time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2023-07-27T20:08:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" - time="2023-07-27T20:08:55Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2023-07-27T20:08:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" - time="2023-07-27T20:08:55Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2023-07-27T20:08:55Z" level=debug msg="Handling state after reboot" - time="2023-07-27T20:08:55Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:08:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:55Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47190->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47190->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47070->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47070->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:08:55Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57544->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57544->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48680->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48680->[::1]:53: read: connection refused" - time="2023-07-27T20:08:55Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:08:55Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2023-07-27T20:08:55Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2023-07-27T20:09:00Z" level=debug msg="Wait complete" - time="2023-07-27T20:09:00Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:09:00Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:09:00Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2023-07-27T20:09:00Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2023-07-27T20:09:05Z" level=debug msg="Wait complete" - time="2023-07-27T20:09:05Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:09:05Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:09:05Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2023-07-27T20:09:05Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2023-07-27T20:09:10Z" level=debug msg="Wait complete" - time="2023-07-27T20:09:10Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2023-07-27T20:09:10Z" level=debug msg="Handle update commit state" - time="2023-07-27T20:09:10Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2023-07-27T20:09:10Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2023-07-27T20:09:10Z" level=error msg="transient error: Tried sending status report maximum number of times." - time="2023-07-27T20:09:10Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2023-07-27T20:09:10Z" level=debug msg="Transitioning to error state" - time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47733->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47733->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47072->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47072->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56266->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56266->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44301->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44301->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=info msg="Performing rollback" - time="2023-07-27T20:09:10Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2023-07-27T20:09:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" - time="2023-07-27T20:09:10Z" level=debug msg="Will try to rollback reboot the device" - time="2023-07-27T20:09:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34359->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34359->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37265->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37265->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56826->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56826->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60350->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60350->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=info msg="Rebooting device(s) after rollback" - time="2023-07-27T20:09:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2023-07-27T20:09:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" - time="2023-07-27T20:09:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:09:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2023-07-27T20:09:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" - time="2023-07-27T20:09:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2023-07-27T20:09:10Z" level=debug msg="Handling state after rollback reboot" - time="2023-07-27T20:09:10Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54431->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54431->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46003->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46003->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54721->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54721->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36184->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36184->[::1]:53: read: connection refused" - time="2023-07-27T20:09:10Z" level=debug msg="Handle update error state" - time="2023-07-27T20:09:10Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2023-07-27T20:09:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" - time="2023-07-27T20:09:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:09:10Z" level=debug msg="Handling Cleanup state" - time="2023-07-27T20:09:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2023-07-27T20:09:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" - time="2023-07-27T20:09:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2023-07-27T20:09:10Z" level=debug msg="Handling update status report state" - time="2023-07-27T20:09:10Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2023-07-27T20:09:10Z" level=debug msg="Reporting complete" - time="2023-07-27T20:09:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules965332491/artifact_info file." - time="2023-07-27T20:09:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules965332491/artifact_info" - time="2023-07-27T20:09:10Z" level=debug msg="artifact_name=old_name" - time="2023-07-27T20:09:10Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (16.55s) + time="2023-07-27T20:16:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2023-07-27T20:16:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:38Z" level=debug msg="Handle update check state" + time="2023-07-27T20:16:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2023-07-27T20:16:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:38Z" level=debug msg="Executing script: Download_Enter_00" + time="2023-07-27T20:16: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]:50662->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:50662->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:34525->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:34525->[::1]:53: read: connection refused" + time="2023-07-27T20:16:38Z" level=info msg="Running Mender client version: unknown" + time="2023-07-27T20:16:38Z" level=debug msg="Handling update fetch state" + time="2023-07-27T20:16:38Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2023-07-27T20:16:38Z" level=debug msg="Handling update install state" + time="2023-07-27T20:16:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules941931880/device_type" + time="2023-07-27T20:16:38Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:38Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:38Z" level=info msg="No public key was provided for authenticating the artifact" + time="2023-07-27T20:16:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2023-07-27T20:16:38Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2023-07-27T20:16:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules941931880/artifact_info file." + time="2023-07-27T20:16:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules941931880/artifact_info" + time="2023-07-27T20:16:38Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:38Z" level=debug msg="Current manifest data: old_name" + time="2023-07-27T20:16:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules941931880/artifact_info" + time="2023-07-27T20:16:38Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules941931880/device_type" + time="2023-07-27T20:16:38Z" level=debug msg="device_type=test-device" + time="2023-07-27T20:16:38Z" level=debug msg="Current manifest data: test-device" + time="2023-07-27T20:16:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2023-07-27T20:16:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2023-07-27T20:16:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules941931880/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules941931880/work/payloads/0000/tree" + time="2023-07-27T20:16:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2023-07-27T20:16:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2023-07-27T20:16:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules941931880/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules941931880/work/payloads/0000/tree" + time="2023-07-27T20:16:38Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:38Z" level=debug msg="Module supports rollback" + time="2023-07-27T20:16:38Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2023-07-27T20:16:38Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2023-07-27T20:16:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:38Z" level=debug msg="Executing script: Download_Leave_00" + time="2023-07-27T20:16: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]:54114->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:54114->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:55976->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:55976->[::1]:53: read: connection refused" + time="2023-07-27T20:16:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:38Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2023-07-27T20:16: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]:39414->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:39414->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:35733->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:35733->[::1]:53: read: connection refused" + time="2023-07-27T20:16:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2023-07-27T20:16:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules941931880/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules941931880/work/payloads/0000/tree" + time="2023-07-27T20:16:38Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2023-07-27T20:16:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules941931880/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules941931880/work/payloads/0000/tree" + time="2023-07-27T20:16:38Z" level=debug msg="Update module output: Yes" + time="2023-07-27T20:16:38Z" level=debug msg="Module needs custom reboot" + time="2023-07-27T20:16:38Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2023-07-27T20:16:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:38Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2023-07-27T20:16: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]:33372->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:33372->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:44955->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:44955->[::1]:53: read: connection refused" + time="2023-07-27T20:16:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:38Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2023-07-27T20:16: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]:40290->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:40290->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:60217->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:60217->[::1]:53: read: connection refused" + time="2023-07-27T20:16:38Z" level=debug msg="Handling reboot state" + time="2023-07-27T20:16:38Z" level=info msg="Rebooting device(s)" + time="2023-07-27T20:16:38Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2023-07-27T20:16:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules941931880/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules941931880/work/payloads/0000/tree" + time="2023-07-27T20:16:38Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:38Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2023-07-27T20:16:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules941931880/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules941931880/work/payloads/0000/tree" + time="2023-07-27T20:16:38Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2023-07-27T20:16:38Z" level=debug msg="Handling state after reboot" + time="2023-07-27T20:16:38Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:38Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2023-07-27T20:16: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]:48299->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:48299->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:52470->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:52470->[::1]:53: read: connection refused" + time="2023-07-27T20:16:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:38Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2023-07-27T20:16: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]:39720->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:39720->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:35047->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:35047->[::1]:53: read: connection refused" + time="2023-07-27T20:16:38Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:38Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2023-07-27T20:16:38Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2023-07-27T20:16:43Z" level=debug msg="Wait complete" + time="2023-07-27T20:16:43Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:43Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:43Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2023-07-27T20:16:43Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2023-07-27T20:16:48Z" level=debug msg="Wait complete" + time="2023-07-27T20:16:48Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:48Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:48Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2023-07-27T20:16:48Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2023-07-27T20:16:53Z" level=debug msg="Wait complete" + time="2023-07-27T20:16:53Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2023-07-27T20:16:53Z" level=debug msg="Handle update commit state" + time="2023-07-27T20:16:53Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2023-07-27T20:16:53Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2023-07-27T20:16:53Z" level=error msg="transient error: Tried sending status report maximum number of times." + time="2023-07-27T20:16:53Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2023-07-27T20:16:53Z" level=debug msg="Transitioning to error state" + time="2023-07-27T20:16:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:53Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2023-07-27T20:16: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]:42909->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:42909->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:34826->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:34826->[::1]:53: read: connection refused" + time="2023-07-27T20:16:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2023-07-27T20:16: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]:45177->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:45177->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:43610->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:43610->[::1]:53: read: connection refused" + time="2023-07-27T20:16:53Z" level=info msg="Performing rollback" + time="2023-07-27T20:16:53Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2023-07-27T20:16:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules941931880/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules941931880/work/payloads/0000/tree" + time="2023-07-27T20:16:53Z" level=debug msg="Will try to rollback reboot the device" + time="2023-07-27T20:16:53Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2023-07-27T20:16:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:53Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2023-07-27T20:16: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]:50293->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:50293->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:51600->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:51600->[::1]:53: read: connection refused" + time="2023-07-27T20:16:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2023-07-27T20:16: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]:53684->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:53684->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:33068->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:33068->[::1]:53: read: connection refused" + time="2023-07-27T20:16:53Z" level=info msg="Rebooting device(s) after rollback" + time="2023-07-27T20:16:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2023-07-27T20:16:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules941931880/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules941931880/work/payloads/0000/tree" + time="2023-07-27T20:16:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2023-07-27T20:16:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules941931880/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules941931880/work/payloads/0000/tree" + time="2023-07-27T20:16:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2023-07-27T20:16:53Z" level=debug msg="Handling state after rollback reboot" + time="2023-07-27T20:16:53Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2023-07-27T20:16:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2023-07-27T20:16: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]:37263->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:37263->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:59351->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:59351->[::1]:53: read: connection refused" + time="2023-07-27T20:16:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2023-07-27T20:16: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]:42235->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:42235->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:57607->[::1]:53: read: connection refused" + time="2023-07-27T20:16: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]:57607->[::1]:53: read: connection refused" + time="2023-07-27T20:16:53Z" level=debug msg="Handle update error state" + time="2023-07-27T20:16:53Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2023-07-27T20:16:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules941931880/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules941931880/work/payloads/0000/tree" + time="2023-07-27T20:16:53Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2023-07-27T20:16:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:53Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2023-07-27T20:16:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:53Z" level=debug msg="Handling Cleanup state" + time="2023-07-27T20:16:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2023-07-27T20:16:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules941931880/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules941931880/work/payloads/0000/tree" + time="2023-07-27T20:16:53Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2023-07-27T20:16:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2023-07-27T20:16:53Z" level=debug msg="Handling update status report state" + time="2023-07-27T20:16:53Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2023-07-27T20:16:53Z" level=debug msg="Reporting complete" + time="2023-07-27T20:16:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules941931880/artifact_info file." + time="2023-07-27T20:16:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules941931880/artifact_info" + time="2023-07-27T20:16:53Z" level=debug msg="artifact_name=old_name" + time="2023-07-27T20:16:53Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (15.09s) PASS ---- PASS: TestStateTransitionsWithUpdateModules (87.45s) - --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback (0.78s) - --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback (0.75s) - --- PASS: TestStateTransitionsWithUpdateModules/Normal_install (0.55s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback (0.48s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback (0.40s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback (0.52s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback (0.59s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall (0.58s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall (0.54s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot (0.94s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot (0.83s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot (0.71s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot (0.75s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback (0.72s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback (0.87s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot (0.89s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot (0.88s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot (1.28s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot (1.10s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure (0.56s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure (0.79s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Cleanup (0.78s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Cleanup (1.29s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit (0.57s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit (0.68s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot (0.56s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot (0.67s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback (0.16s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback (0.34s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback (0.44s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback (0.52s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 (0.53s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 (0.60s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 (0.60s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 (0.66s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 (0.63s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 (0.59s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 (0.77s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 (0.69s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 (0.55s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 (0.51s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 (0.57s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 (0.68s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot (0.37s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot (0.59s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback (0.32s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback (0.33s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback (0.50s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback (0.59s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 (0.56s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 (0.74s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 (0.60s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 (0.80s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 (0.78s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 (1.27s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 (1.01s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 (1.33s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 (1.22s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 (0.99s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 (0.89s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 (0.70s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot (0.52s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot (0.65s) - --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_error_loop (3.38s) - --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop (3.90s) - --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_Download_state (5.98s) - --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall (5.52s) - --- PASS: TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot (8.41s) - --- PASS: TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot (16.59s) +--- PASS: TestStateTransitionsWithUpdateModules (36.72s) + --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Normal_install (0.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback (0.04s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback (0.05s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback (0.06s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall (0.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Cleanup (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Cleanup (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback (0.03s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback (0.03s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback (0.06s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 (0.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot (0.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback (0.05s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback (0.05s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 (0.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 (0.10s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 (0.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 (0.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 (0.09s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot (0.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot (0.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_error_loop (0.42s) + --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop (0.58s) + --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_Download_state (5.04s) + --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall (5.07s) + --- PASS: TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot (5.08s) + --- PASS: TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot (15.11s) === RUN TestDBSchemaUpdate --- PASS: TestDBSchemaUpdate (0.00s) === RUN TestAutomaticReboot -time="2023-07-27T20:09:10Z" level=info msg="Running Mender client version: unknown" -time="2023-07-27T20:09:10Z" level=debug msg="Handling reboot state" -time="2023-07-27T20:09:10Z" level=info msg="Rebooting device(s)" -time="2023-07-27T20:09:11Z" level=error msg="transient error: Could not reboot host: exit status 99" -time="2023-07-27T20:09:11Z" level=debug msg="Setting artifact name to _INCONSISTENT" ---- PASS: TestAutomaticReboot (0.02s) +time="2023-07-27T20:16:53Z" level=info msg="Running Mender client version: unknown" +time="2023-07-27T20:16:53Z" level=debug msg="Handling reboot state" +time="2023-07-27T20:16:53Z" level=info msg="Rebooting device(s)" +time="2023-07-27T20:16:53Z" level=error msg="transient error: Could not reboot host: exit status 99" +time="2023-07-27T20:16:53Z" level=debug msg="Setting artifact name to _INCONSISTENT" +--- PASS: TestAutomaticReboot (0.00s) === RUN TestTransitions -time="2023-07-27T20:09:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:16:53Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" === RUN TestTransitions/0 -time="2023-07-27T20:09:11Z" level=info msg="State transition: init [Idle] -> init [Sync]" +time="2023-07-27T20:16:53Z" level=info msg="State transition: init [Idle] -> init [Sync]" transition_test.go:194: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] === RUN TestTransitions/1 -time="2023-07-27T20:09:11Z" level=info msg="State transition: init [Idle] -> init [Sync]" +time="2023-07-27T20:16:53Z" level=info msg="State transition: init [Idle] -> init [Sync]" transition_test.go:194: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] === RUN TestTransitions/2 -time="2023-07-27T20:09:11Z" level=info msg="State transition: init [Idle] -> init [Sync]" +time="2023-07-27T20:16:53Z" level=info msg="State transition: init [Idle] -> init [Sync]" transition_test.go:194: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] === RUN TestTransitions/3 -time="2023-07-27T20:09:11Z" level=info msg="State transition: init [Sync] -> init [Download_Enter]" +time="2023-07-27T20:16:53Z" level=info msg="State transition: init [Sync] -> init [Download_Enter]" transition_test.go:194: has: [{Sync Leave}] expect: [{Sync Leave}] === RUN TestTransitions/4 -time="2023-07-27T20:09:11Z" level=info msg="State transition: init [Error] -> init [Idle]" +time="2023-07-27T20:16:53Z" level=info msg="State transition: init [Error] -> init [Idle]" transition_test.go:194: has: [{Error Leave} {Idle Enter}] expect: [{Error Leave} {Idle Enter}] === RUN TestTransitions/5 -time="2023-07-27T20:09:11Z" level=info msg="State transition: init [ArtifactReboot_Enter] -> init [Error]" -time="2023-07-27T20:09:11Z" level=debug msg="Transitioning to error state" +time="2023-07-27T20:16:53Z" level=info msg="State transition: init [ArtifactReboot_Enter] -> init [Error]" +time="2023-07-27T20:16:53Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{ArtifactReboot Error} {Error Enter}] expect: [{ArtifactReboot Error} {Error Enter}] === RUN TestTransitions/6 -time="2023-07-27T20:09:11Z" level=info msg="State transition: init [none] -> init [Idle]" +time="2023-07-27T20:16:53Z" level=info msg="State transition: init [none] -> init [Idle]" transition_test.go:194: has: [{Idle Enter}] expect: [{Idle Enter}] === RUN TestTransitions/7 -time="2023-07-27T20:09:11Z" level=info msg="State transition: init [none] -> init [Error]" -time="2023-07-27T20:09:11Z" level=debug msg="Transitioning to error state" +time="2023-07-27T20:16:53Z" level=info msg="State transition: init [none] -> init [Error]" +time="2023-07-27T20:16:53Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Error Enter}] expect: [{Error Enter}] === RUN TestTransitions/8 -time="2023-07-27T20:09:11Z" level=info msg="State transition: init [Idle] -> init [Error]" -time="2023-07-27T20:09:11Z" level=debug msg="Transitioning to error state" +time="2023-07-27T20:16:53Z" level=info msg="State transition: init [Idle] -> init [Error]" +time="2023-07-27T20:16:53Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Idle Error} {Error Enter}] expect: [{Idle Error} {Error Enter}] ---- PASS: TestTransitions (0.02s) +--- PASS: TestTransitions (0.00s) --- PASS: TestTransitions/0 (0.00s) --- PASS: TestTransitions/1 (0.00s) --- PASS: TestTransitions/2 (0.00s) @@ -15183,114 +17808,114 @@ transition_test.go:329: Running state: update-error --- PASS: TestTransitionReporting (0.00s) FAIL -FAIL github.com/mendersoftware/mender/app 285.743s +FAIL github.com/mendersoftware/mender/app 206.414s === RUN TestAmbiguousArgumentsArgs -time="2023-07-27T20:04:32Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" ---- PASS: TestAmbiguousArgumentsArgs (0.01s) +time="2023-07-27T20:13:26Z" 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="2023-07-27T20:04:32Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" +time="2023-07-27T20:13:26Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" --- PASS: TestCheckUpdate (0.00s) === RUN TestSendInventory -time="2023-07-27T20:04:32Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" +time="2023-07-27T20:13:26Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" --- PASS: TestSendInventory (0.00s) === RUN TestRunDaemon -time="2023-07-27T20:04:32Z" level=debug msg="Private key does not exist" -time="2023-07-27T20:04:32Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:04:32Z" level=info msg="State transition: init [none] -> init [none]" -time="2023-07-27T20:04:32Z" level=debug msg="No state data stored" -time="2023-07-27T20:04:32Z" level=info msg="State transition: init [none] -> idle [Idle]" -time="2023-07-27T20:04:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:32Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" -time="2023-07-27T20:04:32Z" level=debug msg="Handle authorize wait state" -time="2023-07-27T20:04:32Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2023-07-27T20:04:32Z" level=debug msg="Wait 0s before next authorization attempt" -time="2023-07-27T20:04:32Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2023-07-27T20:04:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:32Z" level=debug msg="Handle authorize state" -time="2023-07-27T20:04:32Z" level=debug msg="Needs keys" -time="2023-07-27T20:04:32Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2023-07-27T20:04:33Z" level=debug msg="Tenant token: " -time="2023-07-27T20:04:33Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAmMiH7EnDPcBleBQgx0Ds\njUz4bsw2TAD6uPvAMJU+nLOA8mZpIIcfYkzY3mbCfmmgrUGZqJvipKHH6m7G/UI3\nmJG6rfdj1hsM8m99tWxm6QmSpEOFRIB//UULrvHcG26cqPaXxdiaNpdI3zCLo9BQ\nDuXzZhHJAqI7vXupLjm4EYE2jpJrpdrIJPaja/WeRqMED7K9ZcRrBQ9oz+RDY+Kr\nA0NM47FDMCMoQcfpWHCTyX66G0agFcrknsAYfsPxOQaQfpAgTeOyzr688CdFOF/n\nIbQMnSGK4rJ2avURKgECBLMMGOSNhNiqyZZE7KLFlkjFi8G9opygKUD15QZxTVXV\nwZn1NMm58qnLkwF4ENA7BCAQaN7XrARXjpQsQkEMzozfoiBDySATWdqM/8cNnHvc\n3S/4GR75vEhFdJeTbLQ7Zb4DFwO6yDblO6yNNGQmFkuKhx5sswux3R0YkUCvfjBg\nRmweSfUwvCOT3d029FOAaUwMfc+e8J8bigvZR9ouHtwfAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:04:33Z" level=debug msg="Making an authorization request () to server " -time="2023-07-27T20:04:33Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc000238370)}" -time="2023-07-27T20:04:33Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2023-07-27T20:04:33Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2023-07-27T20:04:33Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2023-07-27T20:04:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:33Z" level=debug msg="Handle authorize wait state" -time="2023-07-27T20:04:33Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2023-07-27T20:04:33Z" level=debug msg="Wait 4m58.726844653s before next authorization attempt" -time="2023-07-27T20:04:33Z" level=debug msg="SIGUSR2 signal received." -time="2023-07-27T20:04:33Z" level=debug msg="Sent wake up!" -time="2023-07-27T20:04:33Z" level=info msg="Forced wake-up from sleep" -time="2023-07-27T20:04:33Z" level=error msg="Cannot check update or update inventory while in authorize state" -time="2023-07-27T20:04:33Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2023-07-27T20:04:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:33Z" level=debug msg="Handle authorize state" -time="2023-07-27T20:04:33Z" level=debug msg="Tenant token: " -time="2023-07-27T20:04:33Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAmMiH7EnDPcBleBQgx0Ds\njUz4bsw2TAD6uPvAMJU+nLOA8mZpIIcfYkzY3mbCfmmgrUGZqJvipKHH6m7G/UI3\nmJG6rfdj1hsM8m99tWxm6QmSpEOFRIB//UULrvHcG26cqPaXxdiaNpdI3zCLo9BQ\nDuXzZhHJAqI7vXupLjm4EYE2jpJrpdrIJPaja/WeRqMED7K9ZcRrBQ9oz+RDY+Kr\nA0NM47FDMCMoQcfpWHCTyX66G0agFcrknsAYfsPxOQaQfpAgTeOyzr688CdFOF/n\nIbQMnSGK4rJ2avURKgECBLMMGOSNhNiqyZZE7KLFlkjFi8G9opygKUD15QZxTVXV\nwZn1NMm58qnLkwF4ENA7BCAQaN7XrARXjpQsQkEMzozfoiBDySATWdqM/8cNnHvc\n3S/4GR75vEhFdJeTbLQ7Zb4DFwO6yDblO6yNNGQmFkuKhx5sswux3R0YkUCvfjBg\nRmweSfUwvCOT3d029FOAaUwMfc+e8J8bigvZR9ouHtwfAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:04:33Z" level=debug msg="Making an authorization request () to server " -time="2023-07-27T20:04:33Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc000238870)}" -time="2023-07-27T20:04:33Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2023-07-27T20:04:33Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2023-07-27T20:04:33Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2023-07-27T20:04:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:33Z" level=debug msg="Handle authorize wait state" -time="2023-07-27T20:04:33Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2023-07-27T20:04:33Z" level=debug msg="Wait 9m58.537211035s before next authorization attempt" -time="2023-07-27T20:04:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2023-07-27T20:04:34Z" level=info msg="State transition: init [none] -> init [none]" -time="2023-07-27T20:04:34Z" level=debug msg="No state data stored" -time="2023-07-27T20:04:34Z" level=info msg="State transition: init [none] -> idle [Idle]" -time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:34Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" -time="2023-07-27T20:04:34Z" level=debug msg="Handle authorize wait state" -time="2023-07-27T20:04:34Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2023-07-27T20:04:34Z" level=debug msg="Wait 0s before next authorization attempt" -time="2023-07-27T20:04:34Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:34Z" level=debug msg="Handle authorize state" -time="2023-07-27T20:04:34Z" level=debug msg="Tenant token: " -time="2023-07-27T20:04:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAmMiH7EnDPcBleBQgx0Ds\njUz4bsw2TAD6uPvAMJU+nLOA8mZpIIcfYkzY3mbCfmmgrUGZqJvipKHH6m7G/UI3\nmJG6rfdj1hsM8m99tWxm6QmSpEOFRIB//UULrvHcG26cqPaXxdiaNpdI3zCLo9BQ\nDuXzZhHJAqI7vXupLjm4EYE2jpJrpdrIJPaja/WeRqMED7K9ZcRrBQ9oz+RDY+Kr\nA0NM47FDMCMoQcfpWHCTyX66G0agFcrknsAYfsPxOQaQfpAgTeOyzr688CdFOF/n\nIbQMnSGK4rJ2avURKgECBLMMGOSNhNiqyZZE7KLFlkjFi8G9opygKUD15QZxTVXV\nwZn1NMm58qnLkwF4ENA7BCAQaN7XrARXjpQsQkEMzozfoiBDySATWdqM/8cNnHvc\n3S/4GR75vEhFdJeTbLQ7Zb4DFwO6yDblO6yNNGQmFkuKhx5sswux3R0YkUCvfjBg\nRmweSfUwvCOT3d029FOAaUwMfc+e8J8bigvZR9ouHtwfAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:04:34Z" level=debug msg="Making an authorization request () to server " -time="2023-07-27T20:04:34Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc00012a830)}" -time="2023-07-27T20:04:34Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2023-07-27T20:04:34Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2023-07-27T20:04:34Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:34Z" level=debug msg="Handle authorize wait state" -time="2023-07-27T20:04:34Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2023-07-27T20:04:34Z" level=debug msg="Wait 4m59.94311824s before next authorization attempt" -time="2023-07-27T20:04:34Z" level=debug msg="SIGUSR1 signal received." -time="2023-07-27T20:04:34Z" level=debug msg="SIGUSR1 signal received." -time="2023-07-27T20:04:34Z" level=debug msg="Sent wake up!" -time="2023-07-27T20:04:34Z" level=info msg="Forced wake-up from sleep" -time="2023-07-27T20:04:34Z" level=error msg="Cannot check update or update inventory while in authorize state" -time="2023-07-27T20:04:34Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:34Z" level=debug msg="Handle authorize state" -time="2023-07-27T20:04:34Z" level=debug msg="Sent wake up!" -time="2023-07-27T20:04:34Z" level=info msg="Forced wake-up from sleep" -time="2023-07-27T20:04:34Z" level=debug msg="Tenant token: " -time="2023-07-27T20:04:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAmMiH7EnDPcBleBQgx0Ds\njUz4bsw2TAD6uPvAMJU+nLOA8mZpIIcfYkzY3mbCfmmgrUGZqJvipKHH6m7G/UI3\nmJG6rfdj1hsM8m99tWxm6QmSpEOFRIB//UULrvHcG26cqPaXxdiaNpdI3zCLo9BQ\nDuXzZhHJAqI7vXupLjm4EYE2jpJrpdrIJPaja/WeRqMED7K9ZcRrBQ9oz+RDY+Kr\nA0NM47FDMCMoQcfpWHCTyX66G0agFcrknsAYfsPxOQaQfpAgTeOyzr688CdFOF/n\nIbQMnSGK4rJ2avURKgECBLMMGOSNhNiqyZZE7KLFlkjFi8G9opygKUD15QZxTVXV\nwZn1NMm58qnLkwF4ENA7BCAQaN7XrARXjpQsQkEMzozfoiBDySATWdqM/8cNnHvc\n3S/4GR75vEhFdJeTbLQ7Zb4DFwO6yDblO6yNNGQmFkuKhx5sswux3R0YkUCvfjBg\nRmweSfUwvCOT3d029FOAaUwMfc+e8J8bigvZR9ouHtwfAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2023-07-27T20:04:34Z" level=debug msg="Making an authorization request () to server " -time="2023-07-27T20:04:34Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc00012b1b0)}" -time="2023-07-27T20:04:34Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2023-07-27T20:04:34Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2023-07-27T20:04:34Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2023-07-27T20:04:34Z" level=debug msg="Handle authorize wait state" -time="2023-07-27T20:04:34Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2023-07-27T20:04:34Z" level=debug msg="Wait 9m59.7357243s before next authorization attempt" ---- PASS: TestRunDaemon (3.63s) +time="2023-07-27T20:13:26Z" level=debug msg="Private key does not exist" +time="2023-07-27T20:13:26Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:13:26Z" level=info msg="State transition: init [none] -> init [none]" +time="2023-07-27T20:13:26Z" level=debug msg="No state data stored" +time="2023-07-27T20:13:26Z" level=info msg="State transition: init [none] -> idle [Idle]" +time="2023-07-27T20:13:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:26Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" +time="2023-07-27T20:13:26Z" level=debug msg="Handle authorize wait state" +time="2023-07-27T20:13:26Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2023-07-27T20:13:26Z" level=debug msg="Wait 0s before next authorization attempt" +time="2023-07-27T20:13:26Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2023-07-27T20:13:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:26Z" level=debug msg="Handle authorize state" +time="2023-07-27T20:13:26Z" level=debug msg="Needs keys" +time="2023-07-27T20:13:26Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2023-07-27T20:13:26Z" level=debug msg="Tenant token: " +time="2023-07-27T20:13:26Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAum229aFfSjVdnV97oAoW\njfr57TbHoqhOJj9L0q37R8BbMREmhfCM483nKogQaR6wzI65ftFQp62/g6uHWUb4\n4Gdm9e5mCbvV4gLAgLisTjjxKxLyWHpy4EVrgpqOXC6ZjydEeR8DbLUo/CUDnL+U\n2cYWCHTTiFL079oL4YtSnF88WumujaAfEaYkGxhlcpU7dM8WpTrMqaPI/RuXF5QI\n61s04qpqu/O5M6EYUqQgEg51D2s5uD6p6tbYE9k9acimICuy0eCHdEq9GTzviXu5\n6SLjGv/mIQJAqmXvlz7jXYAPqprD3oTVSBsehDZunZoVnPptbt1CJ2UcJwCMVQYC\nBZR+KmmIQW4IUHqT4Bac0/YFqasNC/WbsJoXcIRbQOXNcN9H9Rb6tKJlHqOaAF1F\nSKNSpueNMqXTkhuikSIFdZyv34W7ndHupJEOOL12s7Q+7MbmLC7bbqrGm9Vcwuq+\nTy6Gx2H6wH3fxUyikK6vYi6HG9EiBfzo6YsXaAFJ55lxAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:13:26Z" level=debug msg="Making an authorization request () to server " +time="2023-07-27T20:13:26Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc0001d9fa0)}" +time="2023-07-27T20:13:26Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2023-07-27T20:13:26Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" +time="2023-07-27T20:13:26Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2023-07-27T20:13:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:26Z" level=debug msg="Handle authorize wait state" +time="2023-07-27T20:13:26Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2023-07-27T20:13:26Z" level=debug msg="Wait 4m59.928756507s before next authorization attempt" +time="2023-07-27T20:13:26Z" level=debug msg="SIGUSR2 signal received." +time="2023-07-27T20:13:26Z" level=debug msg="Sent wake up!" +time="2023-07-27T20:13:26Z" level=info msg="Forced wake-up from sleep" +time="2023-07-27T20:13:26Z" level=error msg="Cannot check update or update inventory while in authorize state" +time="2023-07-27T20:13:26Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2023-07-27T20:13:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:26Z" level=debug msg="Handle authorize state" +time="2023-07-27T20:13:26Z" level=debug msg="Tenant token: " +time="2023-07-27T20:13:26Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAum229aFfSjVdnV97oAoW\njfr57TbHoqhOJj9L0q37R8BbMREmhfCM483nKogQaR6wzI65ftFQp62/g6uHWUb4\n4Gdm9e5mCbvV4gLAgLisTjjxKxLyWHpy4EVrgpqOXC6ZjydEeR8DbLUo/CUDnL+U\n2cYWCHTTiFL079oL4YtSnF88WumujaAfEaYkGxhlcpU7dM8WpTrMqaPI/RuXF5QI\n61s04qpqu/O5M6EYUqQgEg51D2s5uD6p6tbYE9k9acimICuy0eCHdEq9GTzviXu5\n6SLjGv/mIQJAqmXvlz7jXYAPqprD3oTVSBsehDZunZoVnPptbt1CJ2UcJwCMVQYC\nBZR+KmmIQW4IUHqT4Bac0/YFqasNC/WbsJoXcIRbQOXNcN9H9Rb6tKJlHqOaAF1F\nSKNSpueNMqXTkhuikSIFdZyv34W7ndHupJEOOL12s7Q+7MbmLC7bbqrGm9Vcwuq+\nTy6Gx2H6wH3fxUyikK6vYi6HG9EiBfzo6YsXaAFJ55lxAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:13:26Z" level=debug msg="Making an authorization request () to server " +time="2023-07-27T20:13:26Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc00030a570)}" +time="2023-07-27T20:13:26Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2023-07-27T20:13:26Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" +time="2023-07-27T20:13:26Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2023-07-27T20:13:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:26Z" level=debug msg="Handle authorize wait state" +time="2023-07-27T20:13:26Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2023-07-27T20:13:26Z" level=debug msg="Wait 9m59.787229567s before next authorization attempt" +time="2023-07-27T20:13:27Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2023-07-27T20:13:27Z" level=info msg="State transition: init [none] -> init [none]" +time="2023-07-27T20:13:27Z" level=debug msg="No state data stored" +time="2023-07-27T20:13:27Z" level=info msg="State transition: init [none] -> idle [Idle]" +time="2023-07-27T20:13:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:27Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" +time="2023-07-27T20:13:27Z" level=debug msg="Handle authorize wait state" +time="2023-07-27T20:13:27Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2023-07-27T20:13:27Z" level=debug msg="Wait 0s before next authorization attempt" +time="2023-07-27T20:13:27Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2023-07-27T20:13:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:27Z" level=debug msg="Handle authorize state" +time="2023-07-27T20:13:27Z" level=debug msg="Tenant token: " +time="2023-07-27T20:13:27Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAum229aFfSjVdnV97oAoW\njfr57TbHoqhOJj9L0q37R8BbMREmhfCM483nKogQaR6wzI65ftFQp62/g6uHWUb4\n4Gdm9e5mCbvV4gLAgLisTjjxKxLyWHpy4EVrgpqOXC6ZjydEeR8DbLUo/CUDnL+U\n2cYWCHTTiFL079oL4YtSnF88WumujaAfEaYkGxhlcpU7dM8WpTrMqaPI/RuXF5QI\n61s04qpqu/O5M6EYUqQgEg51D2s5uD6p6tbYE9k9acimICuy0eCHdEq9GTzviXu5\n6SLjGv/mIQJAqmXvlz7jXYAPqprD3oTVSBsehDZunZoVnPptbt1CJ2UcJwCMVQYC\nBZR+KmmIQW4IUHqT4Bac0/YFqasNC/WbsJoXcIRbQOXNcN9H9Rb6tKJlHqOaAF1F\nSKNSpueNMqXTkhuikSIFdZyv34W7ndHupJEOOL12s7Q+7MbmLC7bbqrGm9Vcwuq+\nTy6Gx2H6wH3fxUyikK6vYi6HG9EiBfzo6YsXaAFJ55lxAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:13:27Z" level=debug msg="Making an authorization request () to server " +time="2023-07-27T20:13:27Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc00030b1b0)}" +time="2023-07-27T20:13:27Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2023-07-27T20:13:27Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" +time="2023-07-27T20:13:27Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2023-07-27T20:13:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:27Z" level=debug msg="Handle authorize wait state" +time="2023-07-27T20:13:27Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2023-07-27T20:13:27Z" level=debug msg="Wait 4m59.989339882s before next authorization attempt" +time="2023-07-27T20:13:28Z" level=debug msg="SIGUSR1 signal received." +time="2023-07-27T20:13:28Z" level=debug msg="Sent wake up!" +time="2023-07-27T20:13:28Z" level=info msg="Forced wake-up from sleep" +time="2023-07-27T20:13:28Z" level=error msg="Cannot check update or update inventory while in authorize state" +time="2023-07-27T20:13:28Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2023-07-27T20:13:28Z" level=debug msg="SIGUSR1 signal received." +time="2023-07-27T20:13:28Z" level=debug msg="Sent wake up!" +time="2023-07-27T20:13:28Z" level=info msg="Forced wake-up from sleep" +time="2023-07-27T20:13:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:28Z" level=debug msg="Handle authorize state" +time="2023-07-27T20:13:28Z" level=debug msg="Tenant token: " +time="2023-07-27T20:13:28Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAum229aFfSjVdnV97oAoW\njfr57TbHoqhOJj9L0q37R8BbMREmhfCM483nKogQaR6wzI65ftFQp62/g6uHWUb4\n4Gdm9e5mCbvV4gLAgLisTjjxKxLyWHpy4EVrgpqOXC6ZjydEeR8DbLUo/CUDnL+U\n2cYWCHTTiFL079oL4YtSnF88WumujaAfEaYkGxhlcpU7dM8WpTrMqaPI/RuXF5QI\n61s04qpqu/O5M6EYUqQgEg51D2s5uD6p6tbYE9k9acimICuy0eCHdEq9GTzviXu5\n6SLjGv/mIQJAqmXvlz7jXYAPqprD3oTVSBsehDZunZoVnPptbt1CJ2UcJwCMVQYC\nBZR+KmmIQW4IUHqT4Bac0/YFqasNC/WbsJoXcIRbQOXNcN9H9Rb6tKJlHqOaAF1F\nSKNSpueNMqXTkhuikSIFdZyv34W7ndHupJEOOL12s7Q+7MbmLC7bbqrGm9Vcwuq+\nTy6Gx2H6wH3fxUyikK6vYi6HG9EiBfzo6YsXaAFJ55lxAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2023-07-27T20:13:28Z" level=debug msg="Making an authorization request () to server " +time="2023-07-27T20:13:28Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc00021e460)}" +time="2023-07-27T20:13:28Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2023-07-27T20:13:28Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" +time="2023-07-27T20:13:28Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2023-07-27T20:13:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2023-07-27T20:13:28Z" level=debug msg="Handle authorize wait state" +time="2023-07-27T20:13:28Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2023-07-27T20:13:28Z" level=debug msg="Wait 9m59.787630288s before next authorization attempt" +--- PASS: TestRunDaemon (2.40s) === RUN TestLoggingOptions not a valid logrus Level: "crap" @@ -15378,7 +18003,7 @@ --skipverify Skip certificate verification. --help, -h show help --version, -v print the version -time="2023-07-27T20:04:35Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/mender-client-2.4.1/obj-x86_64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli.go:583" +time="2023-07-27T20:13:29Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/mender-client-2.4.1/obj-x86_64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli.go:583" NAME: mender - manage and start the Mender client. @@ -15421,8 +18046,8 @@ --skipverify Skip certificate verification. --help, -h show help --version, -v print the version -time="2023-07-27T20:04:35Z" level=debug msg="Should show" func=github.com/mendersoftware/mender/cli.TestLoggingOptions file="/build/mender-client-2.4.1/obj-x86_64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli_test.go:172" -time="2023-07-27T20:04:35Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/mender-client-2.4.1/obj-x86_64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli.go:583" +time="2023-07-27T20:13:29Z" level=debug msg="Should show" func=github.com/mendersoftware/mender/cli.TestLoggingOptions file="/build/mender-client-2.4.1/obj-x86_64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli_test.go:172" +time="2023-07-27T20:13:29Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/mender-client-2.4.1/obj-x86_64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli.go:583" NAME: mender - manage and start the Mender client. @@ -15549,20 +18174,20 @@ --skipverify Skip certificate verification. --help, -h show help --version, -v print the version ---- PASS: TestLoggingOptions (0.02s) +--- PASS: TestLoggingOptions (0.01s) === RUN TestVersion --- PASS: TestVersion (0.00s) === RUN TestMainBootstrap ---- PASS: TestMainBootstrap (6.45s) +--- PASS: TestMainBootstrap (2.21s) === RUN TestPrintArtifactName foobar db-name foobar ---- PASS: TestPrintArtifactName (0.01s) +--- PASS: TestPrintArtifactName (0.00s) === RUN TestGetMenderDaemonPID ---- PASS: TestGetMenderDaemonPID (0.03s) +--- PASS: TestGetMenderDaemonPID (0.00s) === RUN TestInvalidServerCertificateBoot ---- PASS: TestInvalidServerCertificateBoot (0.22s) +--- PASS: TestInvalidServerCertificateBoot (0.09s) === RUN TestIgnoreServerConfigVerification Mender Client Setup =================== @@ -15571,35 +18196,35 @@ Get started by first configuring the device type and settings for communicating with the server. Mender setup successfully. ---- PASS: TestIgnoreServerConfigVerification (0.01s) +--- PASS: TestIgnoreServerConfigVerification (0.00s) === RUN TestCliHelpText cli_test.go:578: Error Trace: cli_test.go:578 Error: "NAME:\n mender snapshot - Creates a snapshot of the currently running rootfs. The snapshots can be passed as a rootfs-image to the mender-artifact tool to create an update based on THIS device's rootfs. Refer to the list of COMMANDS to specify where to stream the image.\n NOTE: If the process gets killed (e.g. by SIGKILL) while a snapshot is in progress, the system may freeze - forcing you to manually hard-reboot the device. Use at your own risk - preferably on a device that is physically accessible.\n\nUSAGE:\n mender snapshot command [command options] [arguments...]\n\nCOMMANDS:\n dump Dumps rootfs to stdout.\n\nOPTIONS:\n --help, -h show help\n \n" does not contain "\nDESCRIPTION" Test: TestCliHelpText ---- FAIL: TestCliHelpText (0.01s) +--- FAIL: TestCliHelpText (0.00s) === RUN TestSetupInteractiveMode The device type property is used to determine which Mender Artifact are compatible with this device. -Enter a name for the device type (e.g. raspberrypi3): [ionos11-amd64] +Enter a name for the device type (e.g. raspberrypi3): [ionos5-amd64] Are you connecting this device to hosted.mender.io? [Y/n] Demo mode uses short poll intervals and assumes the default demo server setup. (Recommended for testing.) Do you want to run the client in demo mode? [Y/n] Set the IP of the Mender Server: [127.0.0.1] The device type property is used to determine which Mender Artifact are compatible with this device. -Enter a name for the device type (e.g. raspberrypi3): [ionos11-amd64] +Enter a name for the device type (e.g. raspberrypi3): [ionos5-amd64] Are you connecting this device to hosted.mender.io? [Y/n] Demo mode uses short poll intervals and assumes the default demo server setup. (Recommended for testing.) Do you want to run the client in demo mode? [Y/n] The device type property is used to determine which Mender Artifact are compatible with this device. -Enter a name for the device type (e.g. raspberrypi3): [ionos11-amd64] +Enter a name for the device type (e.g. raspberrypi3): [ionos5-amd64] Are you connecting this device to hosted.mender.io? [Y/n] Demo mode uses short poll intervals and assumes the default demo server setup. (Recommended for testing.) Do you want to run the client in demo mode? [Y/n] Set the update poll interval - the frequency with which the client will send an update check request to the server, in seconds: [1800]Set the inventory poll interval - the frequency with which the client will send inventory data to the server, in seconds: [28800] Set the retry poll interval - the frequency with which the client tries to communicate with the server (note: the client may attempt more often initially based on the previous intervals, but will fall back to this value if theserver is busy) [300] The device type property is used to determine which Mender Artifact are compatible with this device. -Enter a name for the device type (e.g. raspberrypi3): [ionos11-amd64] +Enter a name for the device type (e.g. raspberrypi3): [ionos5-amd64] Are you connecting this device to hosted.mender.io? [Y/n] Demo mode uses short poll intervals and assumes the default demo server setup. (Recommended for testing.) Do you want to run the client in demo mode? [Y/n] @@ -15610,91 +18235,85 @@ === RUN TestSetupFlags --- PASS: TestSetupFlags (0.00s) FAIL -FAIL github.com/mendersoftware/mender/cli 10.449s +FAIL github.com/mendersoftware/mender/cli 4.742s === RUN TestClientAuthMakeReq client_auth_test.go:75: data: foobar data --- PASS: TestClientAuthMakeReq (0.00s) === RUN TestClientAuth ---- PASS: TestClientAuth (4.71s) +--- PASS: TestClientAuth (1.36s) === RUN TestClientAuthExpiredCert -time="2023-07-27T20:04:28Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:34645/api/devices/v1/authentication/auth_requests\", Err:certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt}" -time="2023-07-27T20:04:28Z" level=error msg="Authorization request error: certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt" -2023/07/27 20:04:28 http: TLS handshake error from 127.0.0.1:41988: read tcp 127.0.0.1:34645->127.0.0.1:41988: use of closed network connection ---- PASS: TestClientAuthExpiredCert (4.84s) +time="2023-07-27T20:13:26Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:40411/api/devices/v1/authentication/auth_requests\", Err:certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt}" +time="2023-07-27T20:13:26Z" level=error msg="Authorization request error: certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt" +--- PASS: TestClientAuthExpiredCert (0.27s) === RUN TestClientAuthUnknownAuthorityCert -time="2023-07-27T20:04:29Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:34139/api/devices/v1/authentication/auth_requests\", Err:certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt}" -time="2023-07-27T20:04:29Z" level=error msg="Authorization request error: certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt" -2023/07/27 20:04:29 http: TLS handshake error from 127.0.0.1:36008: read tcp 127.0.0.1:34139->127.0.0.1:36008: use of closed network connection ---- PASS: TestClientAuthUnknownAuthorityCert (0.28s) +time="2023-07-27T20:13:26Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:33191/api/devices/v1/authentication/auth_requests\", Err:certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt}" +time="2023-07-27T20:13:26Z" 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.09s) === RUN TestClientAuthDepthZeroSelfSignedCert -time="2023-07-27T20:04:33Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:38871/api/devices/v1/authentication/auth_requests\", Err:depth zero self-signed certificate, openssl verify rc: 18 server cert file: testdata/server.zero.depth.self.signed.crt}" -time="2023-07-27T20:04:33Z" level=error msg="Authorization request error: depth zero self-signed certificate, openssl verify rc: 18 server cert file: testdata/server.zero.depth.self.signed.crt" -2023/07/27 20:04:33 http: TLS handshake error from 127.0.0.1:37386: read tcp 127.0.0.1:38871->127.0.0.1:37386: use of closed network connection ---- PASS: TestClientAuthDepthZeroSelfSignedCert (4.88s) +time="2023-07-27T20:13:28Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:32863/api/devices/v1/authentication/auth_requests\", Err:depth zero self-signed certificate, openssl verify rc: 18 server cert file: testdata/server.zero.depth.self.signed.crt}" +time="2023-07-27T20:13:28Z" 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.28s) === RUN TestClientAuthEndEntityKeyTooSmall -time="2023-07-27T20:04:34Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:44665/api/devices/v1/authentication/auth_requests\", Err:end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt}" -time="2023-07-27T20:04:34Z" level=error msg="Authorization request error: end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt" -2023/07/27 20:04:34 http: TLS handshake error from 127.0.0.1:33106: read tcp 127.0.0.1:44665->127.0.0.1:33106: use of closed network connection ---- PASS: TestClientAuthEndEntityKeyTooSmall (0.41s) +time="2023-07-27T20:13:28Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:44697/api/devices/v1/authentication/auth_requests\", Err:end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt}" +time="2023-07-27T20:13:28Z" level=error msg="Authorization request error: end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt" +--- PASS: TestClientAuthEndEntityKeyTooSmall (0.09s) === RUN TestClientAuthNoCert -time="2023-07-27T20:04:34Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/server.non-existing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2023-07-27T20:04:34Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" ---- PASS: TestClientAuthNoCert (0.48s) +time="2023-07-27T20:13:28Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/server.non-existing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2023-07-27T20:13:28Z" 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.09s) === RUN TestClientAuthHostValidationNocheck ---- PASS: TestClientAuthHostValidationNocheck (3.87s) +--- PASS: TestClientAuthHostValidationNocheck (1.29s) === RUN TestClientAuthHostValidationError -time="2023-07-27T20:04:39Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:39419/api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc000118cb0)}" -time="2023-07-27T20:04:39Z" level=error msg="Authorization request error: Host validation error" -2023/07/27 20:04:39 http: TLS handshake error from 127.0.0.1:58866: read tcp 127.0.0.1:39419->127.0.0.1:58866: use of closed network connection ---- PASS: TestClientAuthHostValidationError (0.44s) +time="2023-07-27T20:13:29Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:37181/api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc00007acc0)}" +time="2023-07-27T20:13:29Z" level=error msg="Authorization request error: Host validation error" +--- PASS: TestClientAuthHostValidationError (0.09s) === RUN TestClientAuthNotValidCertificate -time="2023-07-27T20:04:39Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:35105/api/devices/v1/authentication/auth_requests\", Err:not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt}" -time="2023-07-27T20:04:39Z" level=error msg="Authorization request error: not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt" -2023/07/27 20:04:39 http: TLS handshake error from 127.0.0.1:35482: read tcp 127.0.0.1:35105->127.0.0.1:35482: use of closed network connection ---- PASS: TestClientAuthNotValidCertificate (0.45s) +time="2023-07-27T20:13:29Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:44803/api/devices/v1/authentication/auth_requests\", Err:not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt}" +time="2023-07-27T20:13:29Z" 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.10s) === RUN TestInventoryClient -time="2023-07-27T20:04:39Z" level=error msg="Failed to submit inventory data: foo" -time="2023-07-27T20:04:43Z" level=error msg="Got unexpected HTTP status when submitting to inventory: 401" ---- PASS: TestInventoryClient (3.82s) +time="2023-07-27T20:13:29Z" level=error msg="Failed to submit inventory data: foo" +time="2023-07-27T20:13:31Z" level=error msg="Got unexpected HTTP status when submitting to inventory: 401" +--- PASS: TestInventoryClient (1.32s) === RUN TestLogUploadClient -time="2023-07-27T20:04:43Z" level=error msg="failed to upload logs: foo" -time="2023-07-27T20:04:47Z" level=error msg="Got unexpected HTTP status when uploading log: 401" ---- PASS: TestLogUploadClient (4.55s) +time="2023-07-27T20:13:31Z" level=error msg="failed to upload logs: foo" +time="2023-07-27T20:13:32Z" level=error msg="Got unexpected HTTP status when uploading log: 401" +--- PASS: TestLogUploadClient (1.28s) === RUN TestStatusClient -time="2023-07-27T20:04:48Z" level=error msg="Failed to report status: foo" -time="2023-07-27T20:04:52Z" level=error msg="Got unexpected HTTP status when reporting status: 401" -time="2023-07-27T20:04:52Z" level=warning msg="Status report rejected, deployment aborted at the backend" ---- PASS: TestStatusClient (4.59s) +time="2023-07-27T20:13:32Z" level=error msg="Failed to report status: foo" +time="2023-07-27T20:13:33Z" level=error msg="Got unexpected HTTP status when reporting status: 401" +time="2023-07-27T20:13:33Z" level=warning msg="Status report rejected, deployment aborted at the backend" +--- PASS: TestStatusClient (1.28s) === RUN TestHttpClient -time="2023-07-27T20:04:53Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2023-07-27T20:04:53Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" ---- PASS: TestHttpClient (0.69s) +time="2023-07-27T20:13:33Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2023-07-27T20:13:33Z" 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.17s) === RUN TestApiClientRequest -time="2023-07-27T20:04:55Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2023-07-27T20:04:55Z" level=warning msg="Reauthorization failed with error: " -time="2023-07-27T20:04:55Z" level=info msg="Device unauthorized; attempting reauthorization" ---- PASS: TestApiClientRequest (2.39s) +time="2023-07-27T20:13:35Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2023-07-27T20:13:35Z" level=warning msg="Reauthorization failed with error: " +time="2023-07-27T20:13:35Z" level=info msg="Device unauthorized; attempting reauthorization" +--- PASS: TestApiClientRequest (1.30s) === RUN TestClientConnectionTimeout -2023/07/27 20:04:58 http: TLS handshake error from 127.0.0.1:43512: write tcp 127.0.0.1:38317->127.0.0.1:43512: use of closed network connection ---- PASS: TestClientConnectionTimeout (2.57s) +2023/07/27 20:13:36 http: TLS handshake error from 127.0.0.1:34368: write tcp 127.0.0.1:43563->127.0.0.1:34368: use of closed network connection +--- PASS: TestClientConnectionTimeout (1.29s) === RUN TestHttpClientUrl --- PASS: TestHttpClientUrl (0.00s) === RUN TestLoadingTrust === RUN TestLoadingTrust/Test_loading_server_trust -time="2023-07-27T20:04:58Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2023-07-27T20:13:36Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" === RUN TestLoadingTrust/Test_loading_client_trust ---- PASS: TestLoadingTrust (0.90s) - --- PASS: TestLoadingTrust/Test_loading_server_trust (0.80s) - --- PASS: TestLoadingTrust/Test_loading_client_trust (0.10s) +--- PASS: TestLoadingTrust (0.17s) + --- PASS: TestLoadingTrust/Test_loading_server_trust (0.17s) + --- PASS: TestLoadingTrust/Test_loading_client_trust (0.00s) === RUN TestExponentialBackoffTimeCalculation --- PASS: TestExponentialBackoffTimeCalculation (0.00s) === RUN TestUnMarshalErrorMessage --- PASS: TestUnMarshalErrorMessage (0.00s) === RUN TestFailoverAPICall -time="2023-07-27T20:04:59Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:33945\"" ---- PASS: TestFailoverAPICall (2.47s) +time="2023-07-27T20:13:36Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:43997\"" +--- PASS: TestFailoverAPICall (1.29s) === RUN TestListSystemCertsFound ---- PASS: TestListSystemCertsFound (0.01s) +--- PASS: TestListSystemCertsFound (0.00s) === RUN TestParseUpdateResponse === RUN TestParseUpdateResponse/0 === PAUSE TestParseUpdateResponse/0 @@ -15715,47 +18334,46 @@ === RUN TestParseUpdateResponse/8 === PAUSE TestParseUpdateResponse/8 === CONT TestParseUpdateResponse/0 -=== CONT TestParseUpdateResponse/8 -=== CONT TestParseUpdateResponse/7 -=== CONT TestParseUpdateResponse/6 === CONT TestParseUpdateResponse/5 +=== CONT TestParseUpdateResponse/3 === CONT TestParseUpdateResponse/4 -=== CONT TestParseUpdateResponse/1 +=== CONT TestParseUpdateResponse/6 === CONT TestParseUpdateResponse/2 -=== CONT TestParseUpdateResponse/3 +=== CONT TestParseUpdateResponse/1 +=== CONT TestParseUpdateResponse/7 +=== 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/3 (0.00s) --- PASS: TestParseUpdateResponse/4 (0.00s) - --- PASS: TestParseUpdateResponse/1 (0.00s) + --- PASS: TestParseUpdateResponse/6 (0.00s) --- PASS: TestParseUpdateResponse/2 (0.00s) - --- PASS: TestParseUpdateResponse/3 (0.00s) + --- PASS: TestParseUpdateResponse/1 (0.00s) + --- PASS: TestParseUpdateResponse/7 (0.00s) + --- PASS: TestParseUpdateResponse/8 (0.00s) === RUN Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing -time="2023-07-27T20:05:01Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (test/server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2023-07-27T20:05:01Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" -2023/07/27 20:05:04 http: TLS handshake error from 127.0.0.1:57778: read tcp 127.0.0.1:33553->127.0.0.1:57778: use of closed network connection ---- PASS: Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing (3.18s) +time="2023-07-27T20:13:38Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (test/server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2023-07-27T20:13:38Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +2023/07/27 20:13:39 http: TLS handshake error from 127.0.0.1:42376: read tcp 127.0.0.1:40713->127.0.0.1:42376: use of closed network connection +--- PASS: Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing (1.29s) === RUN Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing ---- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (5.09s) +--- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (1.28s) === RUN Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess -time="2023-07-27T20:05:13Z" level=info msg="Correct request for getting image from: https://menderupdate.com [name: myapp-release-z-build-123; devices: [BBB]]" ---- PASS: Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess (4.00s) +time="2023-07-27T20:13:41Z" 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.28s) === RUN Test_FetchUpdate_noContent_UpdateFailing -time="2023-07-27T20:05:14Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2023-07-27T20:05:14Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" -time="2023-07-27T20:05:17Z" level=error msg="Can not fetch update image: Get \"https://127.0.0.1:42829\": depth zero self-signed certificate, openssl verify rc: 18 server cert file: server.crt" -2023/07/27 20:05:17 http: TLS handshake error from 127.0.0.1:54330: read tcp 127.0.0.1:42829->127.0.0.1:54330: use of closed network connection ---- PASS: Test_FetchUpdate_noContent_UpdateFailing (3.78s) +time="2023-07-27T20:13:41Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2023-07-27T20:13:41Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +time="2023-07-27T20:13:43Z" level=error msg="Can not fetch update image: Get \"https://127.0.0.1:44125\": depth zero self-signed certificate, openssl verify rc: 18 server cert file: server.crt" +--- PASS: Test_FetchUpdate_noContent_UpdateFailing (1.29s) === RUN Test_FetchUpdate_invalidRequest_UpdateFailing -time="2023-07-27T20:05:17Z" level=error msg="Can not fetch update image: Get \"broken-request\": unsupported protocol scheme \"\"" ---- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.29s) +time="2023-07-27T20:13:43Z" level=error msg="Can not fetch update image: Get \"broken-request\": unsupported protocol scheme \"\"" +--- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.08s) === RUN Test_FetchUpdate_correctContent_UpdateFetched ---- PASS: Test_FetchUpdate_correctContent_UpdateFetched (4.23s) +--- PASS: Test_FetchUpdate_correctContent_UpdateFetched (1.28s) === RUN Test_UpdateApiClientError -time="2023-07-27T20:05:22Z" level=error msg="Can not fetch update image: foo" +time="2023-07-27T20:13:44Z" 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 @@ -15763,7 +18381,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.23s) +--- PASS: TestGetUpdateInfo (3.83s) === RUN TestBrokenReadAndPartialDownload === RUN TestBrokenReadAndPartialDownload/group === RUN TestBrokenReadAndPartialDownload/group/success @@ -15800,498 +18418,498 @@ === PAUSE TestBrokenReadAndPartialDownload/group/serverDown === CONT TestBrokenReadAndPartialDownload/group/success === CONT TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange -=== CONT TestBrokenReadAndPartialDownload/group/missingContentLength +=== CONT TestBrokenReadAndPartialDownload/group/missingContentRange +=== CONT TestBrokenReadAndPartialDownload/group/missingBytesContentRange +=== CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport === CONT TestBrokenReadAndPartialDownload/group/lateRangeStart +=== CONT TestBrokenReadAndPartialDownload/group/garbledContentStart +=== CONT TestBrokenReadAndPartialDownload/group/tooManyContentRanges === CONT TestBrokenReadAndPartialDownload/group/earlyRangeStart === CONT TestBrokenReadAndPartialDownload/group/serverDown -=== CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp === CONT TestBrokenReadAndPartialDownload/group/brokenContentLength -=== CONT TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange +=== CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp === CONT TestBrokenReadAndPartialDownload/group/breakAfterShortRange -=== CONT TestBrokenReadAndPartialDownload/group/tooManyContentRanges -=== CONT TestBrokenReadAndPartialDownload/group/missingBytesContentRange -=== CONT TestBrokenReadAndPartialDownload/group/missingContentRange -=== CONT TestBrokenReadAndPartialDownload/group/garbledContentStart +=== CONT TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === CONT TestBrokenReadAndPartialDownload/group/emptyContentRange -time="2023-07-27T20:05:28Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:28Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 3406" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 3406" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 3406" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 3406" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 3401" -time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2023-07-27T20:05:32Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 3401" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2023-07-27T20:05:32Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 5099" -time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:33Z" level=info msg="Attempting to resume artifact download from offset 6812" -time="2023-07-27T20:05:33Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:33Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2023-07-27T20:05:34Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 5099" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 6812" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:34Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 6797" -time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:35Z" level=info msg="Attempting to resume artifact download from offset 8515" -=== CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:36Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" -time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 6797" -time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:36Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 8515" -time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 8495" -time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:37Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:37Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:37Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:38Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 8495" -time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 1s" -time="2023-07-27T20:05:39Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:39Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:39Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 6812" -time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:41Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:43Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:43Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:43Z" level=info msg="Resuming download in 2s" -time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 8515" -time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:44Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:45Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:45Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:45Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 5109" -time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:47Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" -time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:48Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:48Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:48Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:51Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:51Z" level=error msg="Download connection broken: unexpected EOF" -time="2023-07-27T20:05:51Z" level=info msg="Resuming download in 3s" -time="2023-07-27T20:05:54Z" level=info msg="Attempting to resume artifact download from offset 1703" -time="2023-07-27T20:05:54Z" level=error msg="Download connection broken: unexpected EOF" ---- PASS: TestBrokenReadAndPartialDownload (26.16s) +=== CONT TestBrokenReadAndPartialDownload/group/missingContentLength +time="2023-07-27T20:13:48Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:48Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:48Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:48Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:48Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:48Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:48Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:48Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:48Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:48Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:48Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:48Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:48Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:48Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:48Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:48Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:48Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:48Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:48Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:48Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:49Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:49Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:49Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:49Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:49Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:50Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 3401" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 1s" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:51Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:51Z" level=info msg="Attempting to resume artifact download from offset 3401" +time="2023-07-27T20:13:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:51Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:52Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:52Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:52Z" level=info msg="Attempting to resume artifact download from offset 5099" +time="2023-07-27T20:13:52Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:52Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:52Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2023-07-27T20:13:52Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13: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="2023-07-27T20:13:52Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:52Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:52Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:52Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:52Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:52Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:52Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:52Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:52Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:52Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:52Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:53Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:53Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:53Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:53Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:53Z" level=info msg="Attempting to resume artifact download from offset 6812" +time="2023-07-27T20:13:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:53Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:53Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:53Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:53Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:53Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:53Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2023-07-27T20:13:53Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" +time="2023-07-27T20:13:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:53Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:53Z" level=info msg="Attempting to resume artifact download from offset 6812" +time="2023-07-27T20:13:53Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:53Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:53Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:53Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:53Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:53Z" level=info msg="Attempting to resume artifact download from offset 5099" +time="2023-07-27T20:13:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:53Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:54Z" level=info msg="Attempting to resume artifact download from offset 6797" +time="2023-07-27T20:13:54Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:54Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:54Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2023-07-27T20:13:54Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:54Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2023-07-27T20:13:54Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:54Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:54Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:54Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:54Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:54Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:54Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:54Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:54Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:54Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:54Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:54Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:54Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:55Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:55Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:55Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:55Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:55Z" level=info msg="Attempting to resume artifact download from offset 8515" +time="2023-07-27T20:13:55Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:55Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:55Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:55Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:55Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:55Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:55Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:55Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:55Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2023-07-27T20:13:55Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" +time="2023-07-27T20:13:55Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:55Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:55Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:55Z" level=info msg="Attempting to resume artifact download from offset 8515" +time="2023-07-27T20:13:55Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:55Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:55Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:55Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:55Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:55Z" level=info msg="Attempting to resume artifact download from offset 6797" +time="2023-07-27T20:13:55Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:55Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:56Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:56Z" level=info msg="Attempting to resume artifact download from offset 8495" +time="2023-07-27T20:13:56Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:56Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:56Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:56Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2023-07-27T20:13:56Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2023-07-27T20:13:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:56Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:56Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:56Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:56Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:56Z" level=info msg="Resuming download in 2s" +time="2023-07-27T20:13:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:57Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2023-07-27T20:13:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:57Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:13:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:57Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:13:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:57Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:13:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:57Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:13:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:57Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:13:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:57Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:57Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:13:57Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:57Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:13:57Z" level=info msg="Attempting to resume artifact download from offset 8495" +time="2023-07-27T20:13:58Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2023-07-27T20:13:58Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:58Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:58Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13:58Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:13: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="2023-07-27T20:13:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:58Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:13:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:58Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:13:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:58Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:13:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:58Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:13:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:13:58Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:00Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:00Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:00Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:00Z" level=info msg="Attempting to resume artifact download from offset 6812" +time="2023-07-27T20:14:00Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:00Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:00Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:00Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:00Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:00Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:00Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:00Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:00Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:00Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:00Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:00Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:00Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:00Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:00Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:00Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:00Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:01Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:01Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:01Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2023-07-27T20:14:01Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:01Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2023-07-27T20:14:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:01Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:01Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:01Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:01Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:01Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:01Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:03Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:03Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:03Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:03Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:03Z" level=info msg="Attempting to resume artifact download from offset 8515" +time="2023-07-27T20:14:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:03Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:03Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:03Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:03Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:03Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:03Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:03Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:03Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:04Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2023-07-27T20:14:04Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:04Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:04Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:04Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:04Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2023-07-27T20:14:04Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:04Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:04Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:04Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:04Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:04Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:04Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:04Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:04Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:04Z" level=info msg="Resuming download in 3s" +time="2023-07-27T20:14:06Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:06Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:06Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:06Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:06Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:06Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:06Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:06Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:06Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:06Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:06Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:06Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:07Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:07Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2023-07-27T20:14:07Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:07Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:07Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2023-07-27T20:14:07Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2023-07-27T20:14:07Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:07Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:07Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:07Z" level=error msg="Download connection broken: unexpected EOF" +time="2023-07-27T20:14:07Z" level=error msg="Download connection broken: unexpected EOF" +--- PASS: TestBrokenReadAndPartialDownload (19.02s) --- PASS: TestBrokenReadAndPartialDownload/group (0.00s) - --- PASS: TestBrokenReadAndPartialDownload/group/missingContentLength (7.07s) - --- PASS: TestBrokenReadAndPartialDownload/group/success (8.07s) - --- PASS: TestBrokenReadAndPartialDownload/group/earlyRangeStart (8.07s) - --- PASS: TestBrokenReadAndPartialDownload/group/breakAfterShortRange (10.09s) - --- PASS: TestBrokenReadAndPartialDownload/group/serverDownAndUp (16.13s) - --- PASS: TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange (19.04s) - --- PASS: TestBrokenReadAndPartialDownload/group/missingContentRange (19.04s) - --- PASS: TestBrokenReadAndPartialDownload/group/missingBytesContentRange (19.06s) - --- PASS: TestBrokenReadAndPartialDownload/group/garbledContentStart (19.07s) - --- PASS: TestBrokenReadAndPartialDownload/group/serverDown (19.13s) - --- PASS: TestBrokenReadAndPartialDownload/group/brokenContentLength (19.13s) - --- PASS: TestBrokenReadAndPartialDownload/group/emptyContentRange (19.13s) - --- PASS: TestBrokenReadAndPartialDownload/group/tooManyContentRanges (19.13s) - --- PASS: TestBrokenReadAndPartialDownload/group/lateRangeStart (19.13s) - --- PASS: TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange (19.13s) - --- PASS: TestBrokenReadAndPartialDownload/group/noPartialContentSupport (19.09s) + --- PASS: TestBrokenReadAndPartialDownload/group/success (7.01s) + --- PASS: TestBrokenReadAndPartialDownload/group/missingContentLength (7.02s) + --- PASS: TestBrokenReadAndPartialDownload/group/earlyRangeStart (8.01s) + --- PASS: TestBrokenReadAndPartialDownload/group/breakAfterShortRange (9.05s) + --- PASS: TestBrokenReadAndPartialDownload/group/serverDownAndUp (15.02s) + --- PASS: TestBrokenReadAndPartialDownload/group/garbledContentStart (18.06s) + --- PASS: TestBrokenReadAndPartialDownload/group/emptyContentRange (18.06s) + --- PASS: TestBrokenReadAndPartialDownload/group/brokenContentLength (18.06s) + --- PASS: TestBrokenReadAndPartialDownload/group/lateRangeStart (18.06s) + --- PASS: TestBrokenReadAndPartialDownload/group/missingBytesContentRange (18.06s) + --- PASS: TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange (18.06s) + --- PASS: TestBrokenReadAndPartialDownload/group/serverDown (19.02s) + --- PASS: TestBrokenReadAndPartialDownload/group/noPartialContentSupport (19.02s) + --- PASS: TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange (19.02s) + --- PASS: TestBrokenReadAndPartialDownload/group/tooManyContentRanges (19.02s) + --- PASS: TestBrokenReadAndPartialDownload/group/missingContentRange (19.02s) PASS -ok github.com/mendersoftware/mender/client 95.462s +ok github.com/mendersoftware/mender/client 42.138s ? github.com/mendersoftware/mender/client/test [no test files] === RUN Test_readConfigFile_noFile_returnsError --- PASS: Test_readConfigFile_noFile_returnsError (0.00s) === RUN Test_readConfigFile_brokenContent_returnsError -time="2023-07-27T20:04:19Z" level=error msg="Error loading configuration from file: mender.config (Error parsing mender configuration file: invalid character '\\n' in string literal)" +time="2023-07-27T20:13:25Z" level=error msg="Error loading configuration from file: mender.config (Error parsing mender configuration file: invalid character '\\n' in string literal)" --- PASS: Test_readConfigFile_brokenContent_returnsError (0.00s) === RUN Test_LoadConfig_correctConfFile_returnsConfiguration -time="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: mender.config" -time="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: mender.config" +time="2023-07-27T20:13:25Z" level=info msg="Loaded configuration file: mender.config" +time="2023-07-27T20:13:25Z" level=info msg="Loaded configuration file: mender.config" --- PASS: Test_LoadConfig_correctConfFile_returnsConfiguration (0.00s) === RUN TestServerURLConfig -time="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: mender.config" -time="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: mender.config" -time="2023-07-27T20:04:19Z" level=error msg="In mender.conf: don't specify both Servers field AND the corresponding fields in base structure (i.e. ServerURL). The first server on the list overwritesthese fields." +time="2023-07-27T20:13:25Z" level=info msg="Loaded configuration file: mender.config" +time="2023-07-27T20:13:25Z" level=info msg="Loaded configuration file: mender.config" +time="2023-07-27T20:13:25Z" level=error msg="In mender.conf: don't specify both Servers field AND the corresponding fields in base structure (i.e. ServerURL). The first server on the list overwritesthese fields." --- PASS: TestServerURLConfig (0.00s) === RUN TestMultipleServersConfig -time="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: /tmp/mendertest516623594/mender.conf" +time="2023-07-27T20:13:25Z" level=info msg="Loaded configuration file: /tmp/mendertest318926302/mender.conf" --- PASS: TestMultipleServersConfig (0.00s) === RUN TestConfigurationMergeSettings -time="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: fallback.config" -time="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: main.config" ---- PASS: TestConfigurationMergeSettings (0.01s) +time="2023-07-27T20:13:25Z" level=info msg="Loaded configuration file: fallback.config" +time="2023-07-27T20:13:25Z" level=info msg="Loaded configuration file: main.config" +--- PASS: TestConfigurationMergeSettings (0.00s) === RUN TestConfigurationNeitherFileExistsIsNotError -time="2023-07-27T20:04:19Z" level=info msg="No configuration files present. Using defaults" +time="2023-07-27T20:13:25Z" level=info msg="No configuration files present. Using defaults" --- PASS: TestConfigurationNeitherFileExistsIsNotError (0.00s) === RUN TestVersionUnknown --- PASS: TestVersionUnknown (0.00s) === RUN TestVersionVersion --- PASS: TestVersionVersion (0.00s) PASS -ok github.com/mendersoftware/mender/conf 0.066s +ok github.com/mendersoftware/mender/conf 0.020s === RUN TestMenderState --- PASS: TestMenderState (0.00s) PASS -ok github.com/mendersoftware/mender/datastore 0.063s +ok github.com/mendersoftware/mender/datastore 0.016s === RUN TestDeviceIdentityGet identity_data_test.go:93: test case: 0 identity_data_test.go:93: test case: 1 identity_data_test.go:93: test case: 2 identity_data_test.go:93: test case: 3 identity_data_test.go:93: test case: 4 ---- PASS: TestDeviceIdentityGet (0.19s) +--- PASS: TestDeviceIdentityGet (0.02s) PASS -ok github.com/mendersoftware/mender/device 0.244s +ok github.com/mendersoftware/mender/device 0.036s === RUN TestBlockDeviceFail --- PASS: TestBlockDeviceFail (0.00s) === RUN TestBlockDeviceWrite -time="2023-07-27T20:04:20Z" level=info msg="Opening device \"/tmp/mender-block-device-923456605/foo\" for writing" +time="2023-07-27T20:13:25Z" level=info msg="Opening device \"/tmp/mender-block-device-166678603/foo\" for writing" block_device_test.go:46: block device size called: &{0xc000080660} block_device_test.go:56: block device sector-size called: &{0xc0000806c0} -time="2023-07-27T20:04:20Z" level=info msg="Native sector size of block device /tmp/mender-block-device-923456605/foo is 5 bytes. Mender will write in chunks of 1310720 bytes" -time="2023-07-27T20:04:20Z" level=error msg="Failed to write 4 bytes to the new partition" -time="2023-07-27T20:04:20Z" level=info msg="The optimized block-device writer wrote a total of 1 frames, where 1 frames did need to be rewritten (i.e., skipped)" +time="2023-07-27T20:13:25Z" level=info msg="Native sector size of block device /tmp/mender-block-device-166678603/foo is 5 bytes. Mender will write in chunks of 1310720 bytes" +time="2023-07-27T20:13:25Z" level=error msg="Failed to write 4 bytes to the new partition" +time="2023-07-27T20:13:25Z" level=info msg="The optimized block-device writer wrote a total of 1 frames, where 1 frames did need to be rewritten (i.e., skipped)" --- PASS: TestBlockDeviceWrite (0.00s) === RUN TestBlockDeviceSize block_device_test.go:46: block device size called: &{0xc000080900} @@ -16304,117 +18922,117 @@ === RUN TestFlushingWriter --- PASS: TestFlushingWriter (0.00s) === RUN Test_EnvWrite_OSResponseOK_WritesOK -time="2023-07-27T20:04:20Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2023-07-27T20:04:20Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2023-07-27T20:04:20Z" level=info msg="Writing map[bootcnt:3] to the U-Boot environment, using separator: =" ---- PASS: Test_EnvWrite_OSResponseOK_WritesOK (0.19s) +time="2023-07-27T20:13:25Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2023-07-27T20:13:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2023-07-27T20:13:25Z" 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="2023-07-27T20:04:20Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2023-07-27T20:04:20Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2023-07-27T20:04:20Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" -time="2023-07-27T20:04:20Z" level=error msg="U-Boot variable malformed or error occurred" -time="2023-07-27T20:04:20Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2023-07-27T20:04:20Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2023-07-27T20:04:20Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" ---- PASS: Test_EnvWrite_OSResponseError_Fails (0.13s) +time="2023-07-27T20:13:25Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2023-07-27T20:13:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2023-07-27T20:13:25Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" +time="2023-07-27T20:13:25Z" level=error msg="U-Boot variable malformed or error occurred" +time="2023-07-27T20:13:25Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2023-07-27T20:13:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2023-07-27T20:13:25Z" 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.21s) +--- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.02s) === RUN Test_EnvRead_HaveEnvWarning_FailsReading -time="2023-07-27T20:04:21Z" level=error msg="U-Boot variable malformed or error occurred" -time="2023-07-27T20:04:21Z" level=error msg="U-Boot variable malformed or error occurred" ---- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.05s) +time="2023-07-27T20:13:25Z" level=error msg="U-Boot variable malformed or error occurred" +time="2023-07-27T20:13:25Z" level=error msg="U-Boot variable malformed or error occurred" +--- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.01s) === RUN Test_EnvRead_NonExisting_FailsReading -time="2023-07-27T20:04:21Z" level=error msg="U-Boot variable malformed or error occurred" -time="2023-07-27T20:04:21Z" level=error msg="U-Boot variable malformed or error occurred" ---- PASS: Test_EnvRead_NonExisting_FailsReading (0.05s) +time="2023-07-27T20:13:25Z" level=error msg="U-Boot variable malformed or error occurred" +time="2023-07-27T20:13:25Z" level=error msg="U-Boot variable malformed or error occurred" +--- PASS: Test_EnvRead_NonExisting_FailsReading (0.01s) === RUN Test_EnvCanary ---- PASS: Test_EnvCanary (0.37s) +--- PASS: Test_EnvCanary (0.05s) === RUN Test_PermissionDenied -time="2023-07-27T20:04:21Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2023-07-27T20:04:21Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2023-07-27T20:04:21Z" level=error msg="Could not execute fw_setenv: exec: \"fw_setenv\": executable file not found in $PATH" -time="2023-07-27T20:04:21Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exec: \"fw_setenv\": executable file not found in $PATH" +time="2023-07-27T20:13:25Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2023-07-27T20:13:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2023-07-27T20:13:25Z" level=error msg="Could not execute fw_setenv: exec: \"fw_setenv\": executable file not found in $PATH" +time="2023-07-27T20:13:25Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exec: \"fw_setenv\": executable file not found in $PATH" --- PASS: Test_PermissionDenied (0.00s) === RUN Test_ProbeSeparator -time="2023-07-27T20:04:21Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2023-07-27T20:04:21Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2023-07-27T20:04:21Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2023-07-27T20:04:21Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2023-07-27T20:04:21Z" level=info msg="Writing map[mender_uboot_separator:] to the U-Boot environment, using separator: " ---- PASS: Test_ProbeSeparator (0.22s) +time="2023-07-27T20:13:25Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2023-07-27T20:13:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2023-07-27T20:13:25Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2023-07-27T20:13:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2023-07-27T20:13:25Z" level=info msg="Writing map[mender_uboot_separator:] to the U-Boot environment, using separator: " +--- PASS: Test_ProbeSeparator (0.03s) === RUN Test_commitUpdate -time="2023-07-27T20:04:21Z" level=info msg="Committing update" +time="2023-07-27T20:13:25Z" level=info msg="Committing update" --- PASS: Test_commitUpdate (0.00s) === RUN Test_enableUpdatedPartition_wrongPartitinNumber_fails --- PASS: Test_enableUpdatedPartition_wrongPartitinNumber_fails (0.00s) === RUN Test_enableUpdatedPartition_correctPartitinNumber -time="2023-07-27T20:04:21Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" -time="2023-07-27T20:04:21Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2023-07-27T20:04:21Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2023-07-27T20:04:21Z" level=info msg="Writing map[bootcount:0 mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:1] to the U-Boot environment, using separator: =" -time="2023-07-27T20:04:21Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" -time="2023-07-27T20:04:22Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2023-07-27T20:04:22Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2023-07-27T20:04:22Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" ---- PASS: Test_enableUpdatedPartition_correctPartitinNumber (0.29s) +time="2023-07-27T20:13:25Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" +time="2023-07-27T20:13:25Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2023-07-27T20:13:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2023-07-27T20:13:25Z" level=info msg="Writing map[bootcount:0 mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:1] to the U-Boot environment, using separator: =" +time="2023-07-27T20:13:25Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" +time="2023-07-27T20:13:25Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2023-07-27T20:13:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2023-07-27T20:13:25Z" 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="2023-07-27T20:04:22Z" level=info msg="Opening device \"/non/existing\" for writing" -time="2023-07-27T20:04:22Z" level=error msg="Failed to read size of block device /non/existing: open /non/existing: no such file or directory" -time="2023-07-27T20:04:22Z" level=info msg="Opening device \"inactivePart\" for writing" -time="2023-07-27T20:04:22Z" level=info msg="Native sector size of block device inactivePart is 12 bytes. Mender will write in chunks of 1572864 bytes" -time="2023-07-27T20:04:22Z" level=info msg="All bytes were successfully written to the new partition" -time="2023-07-27T20:04:22Z" level=error msg="Failed to read a full frame of size: &{%!d(string=EOF)} from the block-device" -time="2023-07-27T20:04:22Z" level=info msg="The optimized block-device writer wrote a total of 0 frames, where 0 frames did need to be rewritten (i.e., skipped)" -time="2023-07-27T20:04:22Z" level=info msg="Wrote 12/12 bytes to the inactive partition" -time="2023-07-27T20:04:22Z" level=info msg="Opening device \"inactivePart\" for writing" -time="2023-07-27T20:04:22Z" level=error msg="Failed to read size of block device inactivePart: " +time="2023-07-27T20:13:25Z" level=info msg="Opening device \"/non/existing\" for writing" +time="2023-07-27T20:13:25Z" level=error msg="Failed to read size of block device /non/existing: open /non/existing: no such file or directory" +time="2023-07-27T20:13:25Z" level=info msg="Opening device \"inactivePart\" for writing" +time="2023-07-27T20:13:25Z" level=info msg="Native sector size of block device inactivePart is 12 bytes. Mender will write in chunks of 1572864 bytes" +time="2023-07-27T20:13:25Z" level=info msg="All bytes were successfully written to the new partition" +time="2023-07-27T20:13:25Z" level=error msg="Failed to read a full frame of size: &{%!d(string=EOF)} from the block-device" +time="2023-07-27T20:13:25Z" level=info msg="The optimized block-device writer wrote a total of 0 frames, where 0 frames did need to be rewritten (i.e., skipped)" +time="2023-07-27T20:13:25Z" level=info msg="Wrote 12/12 bytes to the inactive partition" +time="2023-07-27T20:13:25Z" level=info msg="Opening device \"inactivePart\" for writing" +time="2023-07-27T20:13:25Z" level=error msg="Failed to read size of block device inactivePart: " --- PASS: Test_installUpdate_existingAndNonInactivePartition (0.00s) === RUN Test_FetchUpdate_existingAndNonExistingUpdateFile --- PASS: Test_FetchUpdate_existingAndNonExistingUpdateFile (0.00s) === RUN Test_Rollback_OK -time="2023-07-27T20:04:22Z" level=info msg="No update available, so no rollback needed." -time="2023-07-27T20:04:22Z" level=info msg="Rolling back to the active partition: (1)." -time="2023-07-27T20:04:22Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2023-07-27T20:04:22Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2023-07-27T20:04:22Z" level=info msg="Writing map[mender_boot_part:1 mender_boot_part_hex:1 upgrade_available:0] to the U-Boot environment, using separator: =" - dual_rootfs_device_test.go:200: Log entry: &{0xc0000b4000 map[] 2023-07-27 20:04:22.287223205 +0000 UTC m=+1.835857832 info Rolling back to the active partition: (1). } -time="2023-07-27T20:04:22Z" level=info msg="Rolling back to the inactive partition (2)." -time="2023-07-27T20:04:22Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2023-07-27T20:04:22Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2023-07-27T20:04:22Z" level=info msg="Writing map[mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:0] to the U-Boot environment, using separator: =" - dual_rootfs_device_test.go:200: Log entry: &{0xc0000b4000 map[] 2023-07-27 20:04:22.579188199 +0000 UTC m=+2.127822816 info Rolling back to the inactive partition (2). } ---- PASS: Test_Rollback_OK (0.62s) +time="2023-07-27T20:13:25Z" level=info msg="No update available, so no rollback needed." +time="2023-07-27T20:13:25Z" level=info msg="Rolling back to the active partition: (1)." +time="2023-07-27T20:13:25Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2023-07-27T20:13:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2023-07-27T20:13:25Z" level=info msg="Writing map[mender_boot_part:1 mender_boot_part_hex:1 upgrade_available:0] to the U-Boot environment, using separator: =" + dual_rootfs_device_test.go:200: Log entry: &{0xc0000b4000 map[] 2023-07-27 20:13:25.935613011 +0000 UTC m=+0.230913668 info Rolling back to the active partition: (1). } +time="2023-07-27T20:13:25Z" level=info msg="Rolling back to the inactive partition (2)." +time="2023-07-27T20:13:25Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2023-07-27T20:13:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2023-07-27T20:13:25Z" level=info msg="Writing map[mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:0] to the U-Boot environment, using separator: =" + dual_rootfs_device_test.go:200: Log entry: &{0xc0000b4000 map[] 2023-07-27 20:13:25.978420656 +0000 UTC m=+0.273721318 info Rolling back to the inactive partition (2). } +--- PASS: Test_Rollback_OK (0.09s) === RUN TestDeviceVerifyReboot -time="2023-07-27T20:04:22Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" -time="2023-07-27T20:04:22Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" -time="2023-07-27T20:04:22Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" -time="2023-07-27T20:04:22Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" -time="2023-07-27T20:04:22Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" -time="2023-07-27T20:04:22Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" ---- PASS: TestDeviceVerifyReboot (0.25s) +time="2023-07-27T20:13:25Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" +time="2023-07-27T20:13:25Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" +time="2023-07-27T20:13:26Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" +time="2023-07-27T20:13:26Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" +time="2023-07-27T20:13:26Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" +time="2023-07-27T20:13:26Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" +--- PASS: TestDeviceVerifyReboot (0.02s) === RUN TestInstall -time="2023-07-27T20:04:22Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:04:23Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestInstall (0.08s) +time="2023-07-27T20:13:26Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:13:26Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestInstall (0.03s) === RUN TestInstallSigned -time="2023-07-27T20:04:23Z" level=info msg="No public key was provided for authenticating the artifact" -time="2023-07-27T20:04:23Z" level=warning msg="Installer: Installing signed artifact without verification as verification key is missing" -time="2023-07-27T20:04:23Z" level=info msg="Installer: authenticated digital signature of artifact" -time="2023-07-27T20:04:23Z" level=info msg="Installer: authenticated digital signature of artifact" ---- PASS: TestInstallSigned (0.24s) +time="2023-07-27T20:13:26Z" level=info msg="No public key was provided for authenticating the artifact" +time="2023-07-27T20:13:26Z" level=warning msg="Installer: Installing signed artifact without verification as verification key is missing" +time="2023-07-27T20:13:26Z" level=info msg="Installer: authenticated digital signature of artifact" +time="2023-07-27T20:13:26Z" level=info msg="Installer: authenticated digital signature of artifact" +--- PASS: TestInstallSigned (0.05s) === RUN TestInstallNoSignature ---- PASS: TestInstallNoSignature (0.02s) +--- PASS: TestInstallNoSignature (0.00s) === RUN TestInstallWithScripts -time="2023-07-27T20:04:23Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestInstallWithScripts (0.08s) +time="2023-07-27T20:13:26Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestInstallWithScripts (0.01s) === RUN TestCorrectUpdateProducerReturned -time="2023-07-27T20:04:23Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestCorrectUpdateProducerReturned (0.09s) +time="2023-07-27T20:13:26Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestCorrectUpdateProducerReturned (0.01s) === RUN TestMultiplePayloadsRejected -time="2023-07-27T20:04:23Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestMultiplePayloadsRejected (0.03s) +time="2023-07-27T20:13:26Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestMultiplePayloadsRejected (0.01s) === RUN TestStreamsTree ---- PASS: TestStreamsTree (0.04s) +--- PASS: TestStreamsTree (0.00s) === RUN TestModulesDownload === RUN TestModulesDownload/Mender_download === RUN TestModulesDownload/Module_download @@ -16430,111 +19048,111 @@ === RUN TestModulesDownload/Module_download_doesn't_read_final_zero_entry === RUN TestModulesDownload/Module_download_fails_final_exit === RUN TestModulesDownload/Module_download_hangs -time="2023-07-27T20:04:31Z" level=error msg="Process 1845928 timed out. Sending SIGTERM" +time="2023-07-27T20:13:34Z" level=error msg="Process 3366180 timed out. Sending SIGTERM" === RUN TestModulesDownload/Module_download_never_exits -time="2023-07-27T20:04:36Z" level=error msg="Process 1846425 timed out. Sending SIGTERM" ---- PASS: TestModulesDownload (13.22s) - --- PASS: TestModulesDownload/Mender_download (1.05s) +time="2023-07-27T20:13:39Z" level=error msg="Process 3366196 timed out. Sending SIGTERM" +--- PASS: TestModulesDownload (13.14s) + --- 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.02s) + --- PASS: TestModulesDownload/Module_download_failure (0.00s) + --- PASS: TestModulesDownload/Module_download_short_read_of_stream-next (0.00s) + --- PASS: TestModulesDownload/Module_download_short_read_of_stream (0.01s) --- 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 (0.01s) --- 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_downloads_two_entries,_but_one_file (0.02s) + --- PASS: TestModulesDownload/Module_download_doesn't_read_final_zero_entry (0.02s) --- PASS: TestModulesDownload/Module_download_fails_final_exit (0.01s) - --- PASS: TestModulesDownload/Module_download_hangs (5.02s) - --- PASS: TestModulesDownload/Module_download_never_exits (5.03s) + --- PASS: TestModulesDownload/Module_download_hangs (5.00s) + --- PASS: TestModulesDownload/Module_download_never_exits (5.00s) === RUN Test_GetInactive_HaveActivePartitionSet_ReturnsInactive -time="2023-07-27T20:04:36Z" level=warning msg="Could not resolve path link: /dev/mmc2 Attempting to continue" -time="2023-07-27T20:04:36Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" -time="2023-07-27T20:04:36Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" -time="2023-07-27T20:04:36Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" -time="2023-07-27T20:04:36Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" -time="2023-07-27T20:04:36Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" -time="2023-07-27T20:04:36Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" +time="2023-07-27T20:13:39Z" level=warning msg="Could not resolve path link: /dev/mmc2 Attempting to continue" +time="2023-07-27T20:13:39Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" +time="2023-07-27T20:13:39Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" +time="2023-07-27T20:13:39Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" +time="2023-07-27T20:13:39Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" +time="2023-07-27T20:13:39Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" +time="2023-07-27T20:13:39Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" --- PASS: Test_GetInactive_HaveActivePartitionSet_ReturnsInactive (0.00s) === RUN Test_GetMountRoot --- PASS: Test_GetMountRoot (0.00s) === RUN Test_getRootDevice_HaveDevice_ReturnsDevice -time="2023-07-27T20:04:36Z" level=error msg="Can not stat root device." +time="2023-07-27T20:13:39Z" level=error msg="Can not stat root device." --- PASS: Test_getRootDevice_HaveDevice_ReturnsDevice (0.00s) === RUN Test_matchRootWithMout_HaveValidMount --- PASS: Test_matchRootWithMout_HaveValidMount (0.00s) === RUN Test_getActivePartition_noActiveInactiveSet -time="2023-07-27T20:04:37Z" level=error msg="Mounted root '/dev/mmc1' does not match boot environment mender_boot_part: 2" ---- PASS: Test_getActivePartition_noActiveInactiveSet (0.76s) +time="2023-07-27T20:13:39Z" level=error msg="Mounted root '/dev/mmc1' does not match boot environment mender_boot_part: 2" +--- PASS: Test_getActivePartition_noActiveInactiveSet (0.08s) === RUN Test_getAllMountedDevices --- PASS: Test_getAllMountedDevices (0.00s) === RUN TestMaybeResolveLink -time="2023-07-27T20:04:37Z" level=warning msg="Could not resolve path link: /dev/disk/by-partuuid Attempting to continue" +time="2023-07-27T20:13:39Z" level=warning msg="Could not resolve path link: /dev/disk/by-partuuid Attempting to continue" --- PASS: TestMaybeResolveLink (0.00s) PASS -ok github.com/mendersoftware/mender/installer 17.150s +ok github.com/mendersoftware/mender/installer 13.662s === RUN TestInventoryDataDecoder --- PASS: TestInventoryDataDecoder (0.00s) PASS -ok github.com/mendersoftware/mender/inventory 0.078s +ok github.com/mendersoftware/mender/inventory 0.015s ? github.com/mendersoftware/mender/log/syslog [no test files] === RUN TestStore --- PASS: TestStore (0.00s) === RUN TestExecutor -time="2023-07-27T20:04:18Z" level=error msg="statescript: Ignoring script '/tmp/rootfs_scripts064199797/Download_Enter_00' being not executable" -time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2023-07-27T20:04:18Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Leave_02': 1: exit status 1" -time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " -time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " -time="2023-07-27T20:04:18Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts029031918/ArtifactInstall_Leave_00\nerror data\n\n---------- end of script output" -time="2023-07-27T20:04:19Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts029031918/ArtifactInstall_Leave_11 (Truncated to 10KB)\nRvIĢ\xd9\x1fbk\xf9\x00\xb1\x13:Q8\xe5\x85N\xdcʁ\xfa\xe0\x1c\xcfi~h\u007f\xac\b\xfe\xc2\x05x%e䡈S\x94\xc2\xd2\xec\v\xb1z\x9d\xa0\xacD^c:\xc7\xf8\x9d\x14\xf1\xa0\x80\u05fd?'\x146\x05>\xb5NI+\xad\xf2\x01[y|\x87أ\xd9!q\xda`0\xfe\xb5\xa6\x1bM$\xf6\xf7d@'>\xe2^!Q\xb5\xd5\xc5\x13mc\a\x14<\xb2p\x82\xac\xdbK\xcc=c\xc1W\x11U\xb9\x01\xd6|N+\xa0\xe9$\x9a8\xb0Y\t$Y\xa7\x86\x91\xe3u\x88{\xe3б\xd6ڎ\x8b2ԹW\xb8.@\x82!-\xa4x\xcb\x12\xa0\xed\x918\x85\x1a\xa02\xc2\xc9\x1b0l\xe4\xe3-\xa8\x19;\x9f\\\xbd\x1c\x1e?\x1b\xce\xe2\xefFw\xaa\xc1h\xfb'G\xbak\xb5\x1ae\xa2\rԢ\xd0\u008dG\x0f\x10*\xd1\x1e\xd9\x16lk\x81\xaa\xd0\xe4\xb7\xe1\xf7l\x9c\x11^\x91\xbe\xce:\xdc\x14\x14\xca\xe5\x02Rǡ]\xae\xe3E\x80A}\xcf@&x\x18\xd6iʊ\xb6\x9f*\x02m\xf824\xe7xH'X\x0f\x9a\xad~y\n\xa2\xc3\x00F\u0383\x1f\x16.y\x03y\xe5?H\x97j\xa3\t(㍯<\xab\x94`>دt\xaeP\xf2`c\x17w\xce\xe73,\xf3\x13!\xbed\xbc L\xc4\xe8$\x8a\x01Ɇ<\x90\x9bd\x19\xeb\x0e\xb3\xa0\\\x00\xec\x93\xdf2\xff\x8e\xaf\xfc2/\x92\xb8\xa3\xa1\x9f\xfa.\x1b\xeb֑\xa2\x8d\x85\xc9$>h\xa40\x1f\xaa\xb5\xf6\xaacH\xba\xc4@\xe3\x05(\xd995\x19F\x04\xce\xd2\\:\xdf\x12\xc2S\xb2\bA\xd9\xc9/\xc0\n\xe4\xee\xc7\xd2K\xddp+0\\<\x0f\x82\xcf)\xaa\xf1\xce1 \x1eJ}\xf2\xf2\xf2\xd9\xec\xf4\xd4\x1b\x0f\xa2\xb2NY\xc2\fX\x96\xbc;9PM\x8c\xcbV\xaaz\xe8\x01\xa9\xb7\xd28\x9b\xf5\xd1Y\\\x8e҆\x81?\xbd\xf5l\xe7an{\xadev\xa8\xdcN\x9b\xac\x02\xe7ŏ\b\xe6\x81\x0f\x8e\x9e\xbf\xc5\xd9\xdaC2\xadÅ\xb9\xec`B\xa7\xe3\xb3i\x167\x01<\xaa\xd8{\x1c\x8e\xc99C\x1e\xe7\xa4l\x1e\xe9q\xf2\xf1\xd1LQ\x83\x99\x98l\xefگ\xda)zj\x83\xf6%\x19A\xa1\x8co,\xc5V\xf3\u008f5\vY{\x99\x80w\xa6\xf2\xc6\n\xf7\xd6\x0f\xfeix\x9c\fAt\x95\x90\xbb(XzZ\x94f4\x15\xdfwq\xf1\xcfq/\xc5\xc2ׁ\"\xda9c\xa59\xfd\"\x1d1\xae\x8c\xb6\x92\x98\x18_\u17df\x9ei\xe9\x9b\x16\a\x91X\xee!\xf9\xf4Ϩ\xf2\x16\x97Qfݝ\u05fd\xd9PB\xc2 zhf\xf0\xeb\x81\xf8\t\x1b\x8bj\x8e\fW\x1b\x93\xd3\x1e\xbd\x94\x13\x17\xe4П\x0e\x81\xe9\x98<\x02\xcd\\q]`\xc72B\xf2\xa8\x80W\xacҦ\xea\xa1\xf3\xe7\x02\x1f\u007f>Z#\t\x1ae\xce\f'p/t\xa0U\xf0k\xa2M\x11p\x16\xd1\xe4\x11z6e\xb8\xd8,wQ\x89\xbe5\xb6\x00O\x03\xf4\x12\xd8\x05\u05f7\x13\x1f\x80\u0087qΡSA\x1dS\x05;U\xa8\xa8\x1c\xfdbG(y\x00\xb9?\x9c\xd3\xe2Cq/.\x9bp;\x0e\xe9\xf0\x14\xf7\x05~4\x8a|\x17QKD\x9e\xee\xe6\xd7\x05h\xfc\x19\n\x01\xae\xd8\xfc\r\x8aV\xea\xebe\xb3]\xaf\vP\xf2\xcb\xebr\xe6e(\xef7\x938pY\xc5\xc5\xc0{\xa7\xbb\x93\xab\xec\xe6S'i\xc8\v,\x95(ge\xce\x1f\xb9\x9d]\x0f\x11\xd4\x0e\xbf\"\x9c\x9a\xeb\x8d\n\n\vFۅ\x95\x0e\xa0\x8d\a\xee\x1e\xf0\xb2\x190\x95#[0\x06\xf6\x94\xfe\xcc\xf5ٛ\xa3D\xf5\xcfE\xadY+\x93\x9bh\x00#=DA\x88d:\xb6\xd1߂\xa6\xfdg\x84T7#䅾T=i~\xc0\x87a\x96\xe3\x15\x83\xaa2[\x18\r25\xc8T\xf5<(\x97\xec\x1ee<\x06f\xf5\xb4\x8b\xa2\x01\x80\x1cO0S\x91&\xa8\xd8稬\x96\xec/\x8a;\xb3\x9d)Y\t\xd7\xc8\x1d\x94\xd1 \xfdX\x8f4q\v\xf5\xee\xfd{\xc0\xe2\xec\xa5o\x8ct\x88\x8d\xeb\x94\xe5\xa8\x17\xb7r\xc7*\x91f|?M\bL\xe5F\bP&g\x01tH+\xfc\f\xb1\xffR\xf8\xa7\xa4 ;uq^\xfdG\xbfI\xddq\x06\xf2\xfc\x10\xee\x0f\x923.\xc8\x18\x94\x05\x1d.\xd7(egv\xa31ki\xf2\xa2\u007f\xb2\x14qb\x8b \u007f\xce\xc5A\x02\xe2\x1d\xc1\b\x17hG\x95\xa8\x98\xa6\xa0\t\nl\xed3o\x0e\t\x86\xc2O$\xcaԿ)\x162\xe3n2\xc4\xe4\xc3%{P[s\x1f#n\x84\x1b\xf6\xe0\x87\xe2\xd7\xebq`\xbap6\xbf\U000d98a6a\x15*\xb7\x99\xde\xfe\xdcc\x95\xa2\x9eDҊ\x84\xbd\x1d\xa5qjf\xa7ف\xa0\x9bڊrˈ\xd1[\x91+]d\x02\xa7\xd2\x18\xe04\fT%\xae\x1b\x11\xf2!\xd3\x1f,\xbbB\fo\x8c\xf9\xccl\xd5\xf5\a\xa8Q\xb1\xdc\xf2\xa7\xffy\xe6w\x0f\xe9\xfe\tST\xf5-\xd5(22\xba\a%\xd8;\xb5K*\r8U\xb4\xc8cm\x1e\xb9b\x0e1\xc9\x05\xd2闇\xd0{\xd7m\xe9\x9c\xe2L)\xe1]\xac\x82\xeegCӇ̅\xfb\x8d\u0602K\nq\xddf\xaa\xc2hsJ\x18\x8e8\xf3\xc95MY]X\x9a(~\xb8p69\xe0\xda\x0e\xd0\xe3'\xf2\xb4\"T\xba<\xd6k!B\x81\xab\"\xa8\xaa\x84X\x1c\xc6\xd5\xc1֚\x99AV\x1c\xcb5\xe7i(\x85\x8f\xe3`_\v\x9cj\x1b\x89k\xb4V\xa4\x00)\x81\xf8\v\xbc\xd0ݳo\xcd`\xa7(\x03\xfe\xa3\xc04\xb6\xde\xcb;\x9a7\xf9\xa4 \xc3?\f\xc59{ւr\xe4ߚ\x1c3\x18f\x9b\xc9K\a\xa0C\xa3_\x93\x96V\"}IJr\xcb\x10\x15`\xa4KK\x9e:\xe6V9ܿ$o\xb2\x11\xfbם_Ю\xaf\xc6,'\x98$\xbeV\xc0f\xaa\xd31*\xe7\x80څ\x8c\xc7\xf1\"\xa9\xf3D\xae\xf4\xe6ܚ7\xa6c7D\xa3\x8a,N]\xd3\xe9\xf0\x8fC\xa1\xc2Y/\xef\x1dVC\xb3\x87.\x9d\xefO\x1f\xca\xed&\xee*5\x95\x87X\t(\xadi\x92@[\xbd\x15\x171\xa3\x89\xb7r\x9b {\\N\xbe\xf0a1>\x0e\xac\x8f\x94\xcc\b\xf2I: 2\xbb\x93!8\x1d\xde\xf5F\xce\xeak\x84\xc7\x16n\x86t\u007f\x128\x9e\x99Q\xa4\xdaE$\xe531\x88,\x00\x85\xfe\x1c\xd6\xf6v\xb7\xa3\xe4Kk\x04$z\\As\xc7\x12\xd3J.3:C\xfe\x8d\xd3A[&>\xee\x11@\xe1-I\xeb\xfeb\xc0\u007f\xfb\xbf\x1eSr\x97\x8e\x96:Wz{\x04\xe5Ċ\xb4\xf6\x10Ր$\xb8b\x8d\x1ar\xe2\x14\x9cp\x80z\x17A`\xae\xdb\xca\xc6֪@\x82\xd4\xe8b\x90\xbd\x90\x8c\xa82AIqd3Ԏ\x1agI\x0f`\xa4\x8f4 \xe9\n\a\xe8\xbe$%\x99%\xe7:ͣ\xeb \xff\x80`\x93\xf2\te\t\x17X1T\xd5\x1d\x1bH\x924\x9b\vi\x130\xf4ۃ|\xdf\x02w?\xfd\b$\xc6_\x01\x1b\x02+\xb5\xfd\xc8rd~\x19\x00\xebY\u0089O\x83\xbe\xb1\x83\x94\xb5\x13xh\xe6Q\x94\x87\xb7\x1d5\xcaw\\B\x99\x9c\x94ܗ\xbaG\xda\x15\xf9\xedv\x9f56բ\xdf\xd7浽\x80\xaeZ\v\xc2:օ\x90\xb4\xbd\xfb-\xa8Ak\xd8Q\x0fǰ\x85\xc1y{͞D\xf6X\xf8f3\xbe\xd9T9\xa3\xb6\x83.\x04\xdb\x1fMxHì\x15\xce:W\x12\x95\xbe\x9d\\j^T98\x18\xf8\xaa\xec\\4\xed\x84A\xd9E\x92\xcdG\xaeH\x02\x8c\x14\x12\xd5}\xcf/\xde\xfb\xadBe\xbf\x8a3z\xfcU?\x8f\xddx\xf4>\xf5x֕w{L\x8e*\u007foؙ\xf1\xf0\x80\xe8\x18}\x1cLT\x94\x10\x1a)\xd2\xeev\x1aF\xfd:\xcd<\xa5$U\xda\xc5\t\x8fV%*ر\xb6\xca\x1a\xbd\a\\L\xeaQ\x1a\x9ayA(L\xf2\xa7#\xc03\xfcq\x955\x97\xe5*<]H:\xfa\x86Ԁ$/)W|&I\xfc\xef\xb7\x0f!_}^\xdc\xf4\x9e}\xbf\xa4,\xceb\xea^\xee\xeb\xe1g\xb6د\x10\xbbv\x9a\x1ahn3\x91\xa4t\xc64\x1aX\xf2g\xc4\xda\xd5jT[\x9e\x03\v\xa1\xee \xba\xc7\xe0\xcc-\xe5\xafw\xa4\xfb\a\x1d\x80\xd5\xf4z\x88\x8c\xd3Tx\x04\xffG$\xb8\"\xb6\x81#܄a\xc4ov\x8e\x16r!\xac\x9a%\x86<\x17ck\x0f%o\x17â\xf9\xc3\xea߂\x95\x1b~?F\x16\f*\\>F\xf1\x8e\xb6p#\xe3^\xac\xf3<\x0e\x06U\xf2V]\xe9SSh\x06T\x8c\xc5-\xbdB\x8a\xd0!\xf2\xa06\xe5\xa3X5ð%\x91\xa6G\xdaJ\xf0I\v<`\x9c\x0fo\xbf.0ퟙ\xa5k=\x11\xd6\xe5\xe3\x16\xae\xf7\xa14\x1fq\x94\x05\x97Ş!j\x19\x15\xf5b\xda\x13<\xaa\xf2\xae\xb3\x03;\x16㹆\x85n{\xa3NL*7ƿW\x83*\x03\x81\x98\x8f\xe3\xa54 \xf4\xae \x0eT\xd29ez\xa67\x06\xb1\x18\xd1I\x8d\xe4\xe8\xfa\x0e\xde\xf3q\xa6\xb5J\xfb\x03\xdak?H\xa2\x8e@Y\xb84\xd2\xec\xa5=1\x99\x96\xa2\xbd\f\xf41\xbf>䈻o\xfb[\xc3pQt\xd5x;ӾG\x03\x06J\xf48_\xfahȐ\x92\xf0o=\x17\x19\x1em\xba!\x97\x93A\xa0\xb6\xa2\xf9e\xa2\xed\xa287\xbfSՕ\xd4K\xec\x10~\xfe\xc2v{\x8a\x03\x98J\"\xa4\xe5\nwD\xae\x94\xedo\f9(\xa4t\xba%\xedR\x11\xa2\xe6\xfcE\xfeW\x13R\x8e\xb6u\xe5\xbe3\xb3\xe6\xcdd\xa6\xeb\xff&\xd4\xd1\x13d\xf6-)0\x83K:G\x83\xfa\xe0e\xadD\xf4\xc4O\x95\xc1m\x83\xf3\xfe4ڒ\xac8U@\xf1\xddC\xf6\x883\x9a3\xcf\x1e\xf9\x1bGY:\x8d\x8b\xea\xee\xf4i<\x05\xc9-p.\xaaơ\xbcc\x13\xcb\x0f\xf1Ӽ\x14%\xaa1\x02nN\x9c\xdb\xff\x13\xd6\xdf\xf6g\x1b\xe3\x89}\xc38\xdcN\xbcv\xff\x9f\xed\xad}.\"\x8bh?\xca\x02\x10K?\x15^\xd6\x1fz\x15#\xe4\xfd\x8aZ\xf9\xca\v\xa1XӃ\xff\xc4\xc8Z\xd4\bD\xac5c/A_\xa8\xd3)\xb1q\x80w\v\xa0\xebĹA:\xb2G\xb7\x87\fx\xcfeh\xfdY\xb3\xfb۸\x19E\xa4\xb7D\xc0\x8d\xe7|l\xe4.\v\xcfFqh\xa3\xfbe\xaf\x1a\xbef\xb1\x01.\x03\x0e&\x9a\f&\x05J&9\xc3m\xd7ci\x9a\xa3OM\x81\x18\xb4\xa2:\xb7\xf3\x97\xa2B\x91\x82\xb5\xe8-G\x034\xe8\xf8v\xeb)=f6\x06\xe3E\xcd\x1f\\\x94\xb7uAK\x9e\xf9\xef\xc0i]\xb5\xd1\xd0M7՝\\\xa5\xab\xe0\xb4p\x9c\x94\xb6\xdcT\x19W\xb8{\x8dj\x0f7H\xcaut\x13@U\xe5\x86tY\xfe}\x05xq\x9d\"\xbd\x13\x9a\\\xbe\xac\xf6\x86\xf1\tEZ\x15\x9b\xd1\x18B\x0f\x04\xa5\xb8\xef\xc6;^0#\x13\t97!B\x95\xa1D\x06\x97\xa5\xe2\x02\xf8ԋ\x1b\xc1D퓴zgv\x14e\xc5k\x8db\\j\xf6\xeb\xdbLM\xf8\x91\x03}\xf4\xfcf\x11v\f\xe8\xe7\xb6)i\x93\xed\x00\u007fܣ\x1e\xbc\xabDZ\xc4J\x84\r$\xf5\"\xf2 \x9b\xd9\xe8\xfd\x14\x9c\xaf2K\x96\xe2\xee\xe91:KC\xad\xa5\xfd\x83\x8d\x86y\xb9\x8b\u007f\r\x02\xf1\x99\x17\xe7r\xed\x98\x17\x1a51t\a\xe5\xc9&\xa7sF8\xd1\"\xa9&\x84\a\xfe^\x8f\xb2\x86V[\xe7|\xa5\x1a\xcf[\xb2K\xe6U]>]e\xe5\x06\xbb\"\x13\x81='\xb0\x00趌\x06\x12\xf5\x03\xf0u\xce\xe7%}\x04\x86\x97\x9e/\x10\xd8¯M\x0f6b\xd3\x11\xb3\xbe\x00\x91Z\xbb\x92\xa1\xb8,\xf9\xd04\x95\x8a\x0e#=\xc5ST\xe8\xb5\xc0R=4\x96\xa2\v\x1c\xa7/+\u007f\xce#\ro\x9b\x89G\xb8\xb3\xa2d\xad\x12\xeb\xbaPi\xa4\x9c߯(G\xbeV+\xe2=\xb6r\xa6\x9a\\0\x10fQm\x02h\xfa\x1a\xcbH\xe0\xaaݪ\xecQ\xee\t\x9c\x95:c\xe4\xdf\xd8v\xc7GbŮ\xc5\a>^rxņ\xear?\x00\x8c\n\xfc\xfb\xc8߬{\x19\x82\x10-\x16\xddu\x93Cc\xe7\x80X^94\x8eC@0N\xd6\u007f\x88\x00\xf7d|HC\x80\xaf\xe1\xe4\xa9v\x99|\x113\xe2\xa3˅9\x02\x8c\f@\a\x16\af\xbb^\f\xaa\xe9\xc4\x1c\xb9L\xbe6F\x8b?\x192\xe5\x03\xc3$\xe9\xe4\xa3\xdf\xearB\xf1:\xab\xed<ڟ\x97|\xde:8X\xf1\xdd\xe8k0X!K\x004\x80n \xd9\xeb\x89\xd0\xde\xf8z\x81\xa4\r\xbd\n\x8f\\\x0fLg4\xa1\x1a\xcb\rږ\xe4%\xb4\xf3`\"\xfa-\x82\xb8\xfe\xd9W\x9f\xbb*\xdfT>[\x86\xf07}\xd5K$hu+j\x9b\x8dH\xe9\xbcj\x15\x13\x15h\x0f[gi\xe4\xac\xe63Y>\xfd\t!\xa3\xaa\xf36\x15a\x04ʇ\xcb\xe6R?\xf2\xdfPr\xf8\x95\x01\xb51\x19\xab\x88\xa0\xc9\xe8\xe6:\xb5\x19\x06tB\f\xc84j\xe4\xfd\xf37X\xf8\xa5M\xbf\xd2^\xb2\x865K\f\xa4,ʐo\f p\xe3\x8a\xe8ֵ=<\xa4\xa6iP\xfa\xfcځ\x14\xd4\u05fdVܤTK6\xf51u\xa6\xab\x97\xc5ZC\x9b0\x84/*\x05\x8fI3Zp3n[\x1e\xae\x18bR\xaahګ=}I \x90*\x16N\xe7@D\x87:\x01\x1by\x15\xe4LJ\x87\x8a\xdai\xc9kns\xb94\x10\xca\xe4\xab-p\xe3\xb4\xf1\x1eE\xa0\x1a\xa4\xed:\x9bO\x95\x96\xd5\xc7\xe7<\x0eg\xb8)'h\a\x99\xda\x10c\x15\xb6'\xcd?\x17\x03棋\x1a\x1f\x93~QY\x10/4\njB\xdb0\x88\x16I\xe3i4\x90F\xa8:B\xaf\xae\x94_\xf4\xd6)ͤ\x95\xd5\xef\x84P@\x9b\x1b\x98\x92>\xb6mP\xaf\xc3\xc3\xcfk*\x91\x02\xc3}\xaa\b,\x98\x94S\x12*\xa8\xa1\xbd\x84\t\x83ՙ0mvp\x86\xe0\xbd\xe9C&L\xe8u\xbc\xa8`\xac\xebŦ\x14\x1cMy9\xb7GF6`o\xcfV\x80\x0f\x946>ҕ:d[cթ3F\x89\xe6\x84\xe7d\xa3\xf6|d\xb7\xac\n\xf1\x11\xac\xea\xb4{\xec\b\xaa~\xa8\x15\x1f\xd7TdL\xbc\xadoV\x0f\f\xca[\xa6*\xdc\x06\xef\xc8y,\xa1\xba2V\x02Ҕ\a*\xfe\x10\xd5S\x98\xfd\xd2\x06)#\x0e\x80P\xf8\x83\x1f\x80\xe1\x92I\xa2\xc0F\x97;\xdcYC6O\x89\xba\xf1\xc9\x1d\x10+\xc8-\xb8\xfc\x97u\x00\xbd;\xb6\xd4\xf4\x15/\x9a\x17\xb5\x12\x84^\xca\xc6\xf0ڄ\xf0\x93\x1e\xcf0C\x83\xb2\xad\xaca\xa3\x0f_^\xd55\xa0\r\xfd\xfc84;\xc6e\xbc\xa6\xbe\xe52\x9f\x93\xf9\x0e\x16\xec\x80\x18\x1bKh\x10\x9c4\x19B\x83'7k\xe4\xb6\xda\xf1\xbcu2\x93\x00\x8a\x84_˩\xb9\xae\xb7\x95\xa8xԾY\xa9\v\x9d\x9c\xffE\xc4|\xad.g\xa4\x9c\x15\x9b\x96\n\xb4y\x13\x12\xff{\xf7\x10\xd2\xe4\x9fN\xbaK5\xcb@\x1a\xa8\xb3\xe7\n\x059\xef$\xa7ӌ\x15:?D\xae&S\x19\xe3,\x11\xefV\xe8\x8d\x12s|\x96\x13\xe5\xff\x96\x98t\xbe\xf22A\x8f\xfc\x89\xab9\xaf\x1d\xd7<\xc6G\xfa\xbdx\"\xfaxd\xb1&b2\xb2\x8dJ\xe6T]ͣ\xb1\xaci\x84\x06\xfc\xf2\xb4\x1def\n\xa4\xd2\xc5\xe9\xaeԵ\xf0Cx\xed\x05A\xec\x8ehf1\xef^\v&\xa0:\xe6\x0f\x88\xfc2\xfe\xd4֍\xcf\xecfY\x8dH\xa5\xb1q\xcbBh\xe9\xf8\xf5\xe3\xae\xe7\x940\xfc*\xc6N\a\xfbƃ\xfa\x8f\xe4.Wq\xd0u}\xa3#Hq\x8a\xbd\x0f\x9c\xf9U/kjB\a\xf2\xa7\xc8xL\xa6*\xd0\x06\xe3^p\xccFje\xf5\xf2\b\xb1\x02\x02ř\x1bx\xceTC\xe6+\xe2T\x85m\x1a\xd0E\xd1?\xd2~\xd3rG\xb0k\xd5\x14\xd2\x16\xaf\x89\xea3\xff^\xed\xf6dC\x1df\n~\xf9M\x9e2\xd9L\t\xe2\xdf\xc1\x04ve;JU\x1dd0\xe1\xf2\f\xed\xa1\xbe<\x16\xb1\xc6\x03\x91O9P}\xa6\xa1\xd17\xf6\x17DX\x91\x0f\x99\xc12\x12\x96!\x92\xc5\xe5\xd1)\xa9\xbd]~\x84\xd3\x00sU\x88>M\xb9V*\xad<\xeb\x03\x14\xe1\xe9W\x8b\xb3\x19\u007f\xf7`\x89h\xc1\xb6\xf0駕q\xa79|\xbb\xe9\xd0\x03\x98\x8f\xf2\xd1&\xc3l vtbȒ\xee\xf3`Zy]\xe3I\xc5\x1c\xda:\xcd%oC\xa3\xca_\v\xc9K\x14i\xb2\x1b1\xa3\x8e\xfc\x9f\x98\xcd\xf9\x8bV{(\xe5)d\x18H\xda\xe4C\xa6\xbf%\xd8A\xd9t\x89=J$\xf3\xf1d\x17\xa3n\xf9\x99\xed\x19\xa8\xa9`\x05AXuu\xd6d\x14\xbe\xbd\xb0\xcfS\xf3\xc1F\x95!\xf6(\xe6\xa5\x00\x8a_7\x12\xc9\nj\xd1t\xda\xf0\xc5Y\x82\U00039d24\xcc|\xe3\xd0C.ݧ\x8c8\x0f\x1e\xca\xccк\xe0/\x02֜ǧlU⪧\x00\xd5\x01\xb5˵8\x85\xae\xf2\x06SX\xb5\xeb7O\x94\xe4\x8a\x10pxA\xa1\x1d\xeeW\x96\x90\xed\x03\x9f%\xf5-\xc2y0\xc0\x9eZ\xceNA\x9e\xfa\xbf0\x1b\x12\x1fg\xc1\xdb(9\xd5\xc5\xed\xf02\u05eeI[\xa8\xa0\x88\b0B\xbb\xac1\xcdF\x8d\xd1\\'\x19dD\x8e\xf5\x040\xcd\x04\x92\x87\xaf\a\xbed\xeb\x94-\xba(\x16\xda\xf2\xbfY\xb7\x8f\x13\x826\x8f\xa2ͣ_\xff\v\x1b\x895\xbd\xef\x92I\xd6\xc0\x88\x16\xce\x15\x9aU\x8f\x9bD\xd5-\xa2k\xbe\a\x82\xc0\x92\xab\xeb\xde)a&6\fO\x9bd\x18fs\x1eG\x0e\xf3ݻ9M \x13\x02\xb4\x17ܩ\x89\xe8\xd6\x1e\x88\xca\xc5\x1fJU\xf9\x89\x97 \xe2\xf7U%s\x825ǖ\xada\xe8\xde?\x94w(\x1a\xeb\xd0\xc0\x10\xd70Q\x83W\x1da\x05C\xe0\\\x96\x1d\xe9\x97E?\x13\xeav=\x96\xdf\xc2\u007f\xfa\xf2\xbe\x1bT\xc8\xc0b\xfd\x12q\xed\x8e\x1d\xeeв\xdb:%\n\xf2\x8c\xd3{\xb0\xce\xd2\x05cxy\x0e\xab\x9b\x8a(ȨӘ^s\v\x1c\xc5Q\a\x99\x8f\xa7|\xba@\xe4-\xe5\x12ٝ\xc5(L\xe3\x01\xb57\f\xdc`N\xe0>bl_\xdfh\xa9\xfacڼ\x91-x7x\xc9M\xe8CT~\x99\xf2\xf8E\xf51ߋI\x82\b%q\xef\x05\x9aGѤ\x04'\x80=\x8fu}\x11\vU\x12\xf7\xead`\xe3\x0fodv*Ը\x9e\x13\x1cۋ\xd4\x14\xd7_\x14U\x9bJҕ\xa2 \v\x87\x05\x86\xdf\xf3ݞ\xfc\xbfɖ\x98\xb0\xe0\xb3I\xb7\xb6F]\xbd\xcark1\x80\xe0\x88\xc0L{ \xb1\xa1Fe\xb8\xbe\xddo*\xf2z\f\x90\xac\xc9.\x18C*z\x1f\x03\xc7\xe7\xa15\xa3\xefO\xfc\xab2}\b\xd1\xde)|\x89\x11_\xa8\x85\x02\xe4g\x9b\x8d\x81\xcfU\xa2f\xe6*\xac݀z}\xf1,\x91?\xd8\x12\xe2\xe7\x11\xd7\x06\x98\xf8m\x02[a\x84\x06\x92\xe6t\xe5\xe0\xe3\f\x8d\xfe2p\xb4\xdcc+\xad\xab\xf8\xfcX\xc9\x12~\x98\x1fq2p,\x8bU\xc0`\x89`\xf5\v\xfe\xe0\v\xef\xac\x11\xc0\xebӣ\xdc4z\x04\xf0\xf2ئ&K\x18\xec\xaa@T}\xf6\x06f\x89\xb3Ó\x18\x05Nf\x1aL\xea\xc3,U\x83\xca\xd3[%wo\xc26\x03\xc7Y;\x17\xfe\x1cq\x9d\x01\xb2\x11\xbd\xbb\x9fTo\xe5\xb3\xd7z\x89>\xb6\f\xee[\x82\xae\x9b\x92\xcc\r\x1d#\x14f>\nPt\x0f\xa3f{\xa6\xb9\xb1\xd6~\xccm\xb0?PR\xec\aOIS\xa4:T\xc8?7\x90\xd6ؘ\xb7\xb4\xf30e\x1c\xf6*b\xb2\xd8Z\xaa\f\x9e\xda.\x84\xf1\xa1\x16\t\xe8\xe1t}\xd1\xe0\xee?\xea\x98M]T6\xc4\xf9\xac\x82!\xae\xabU3\xeb\x15\x1a\xc1\x04aS\xfeģ\x90\xc6\a\xb9\xb9\b\xb5\xde\x06\x9boe.\xf2\x00=Iɟ|ԯ\x87\x884+m\x1b;\x88\xfc\xb7$\xa9\xcd4\xee)\x1c\xea\xd2\aw\xfc\xba\xc2\xd9H\xc2\xcb\x04\xddÍ\xe1\x98Y\x8a<\x1e#q\xc0\xcd\xf4\xa0.8\xf97\x04\x8f\xa9@\x93\x1d\x18\x17\xda\u007f*\x04\xf6g\xa9!\ng\xb2\xe1\x990,\x8c\x000\xee\x00\x91\x917;\xcf\nz\xfed3_I>\xf5`Oѧ\x15\x11K\xe1\x0e\x12\xbeƺJ\x19\x88\xb4Ust\xa6\x19hR\fB5o\x1d]v\xb3z\x16uTT'n\xafq#5b\xc164Y\xec\xed$\xda\xe0\xdb\xd3yA:\n&\x94\xb8!\xd6\xd2J\xdd@\xcf?G\xef˓\x9c\xe3\xed\x04\xa3`\na\xd1\xe2\x826s\xe5\"5oJ\x81\xa3\xadrs\a\x87\u007f\xd8c\xa72\x80H\xec\xc5g6\xa1\xa7\x88\x17S\x86g\x9f\x04\xb0Po\xb2Ќ\bs5\x1a\nX\xe0\x1f\xce>\x8fK\x06\x1f\xbb\xf0A\xed\xa8Y\x81\x81zFm\x9f\xac\xf7C\xd3\xefǯ\xe5\x9cD#-\xfc\x8cW\xeeF\xe5o,'\x01\xb4K-\x8d\x9c\xe1\x88\xf5Ũmu\xb3\x9e\xea\xb8\xc7.l\x93\x93d\x15>\x06\xc8r\xba>k\x97\x11\x1dÞ\x98\xf7\x8d\xe7\x15P\xd5q\xbcj\xefo+\xad\x03\\]\x95\xcb!E\x12\xbf\xfaA\xb5-\xbfFGejֆ\xde\xef=v\xe3\xfd;e8\x85OƮ\x8d\xe0t\x89\"Gu\xcf&\x8en&r\xf8ZB\x9e\xaeě\t\x9e\xa2W\x9b\xe6\xb4\xe9\xc1\xef[X\xbe\x9a>\xc0l\xc9\xde\xc5\u05f6T\xec*\x13\x82\xa7\rF\xa7?\x99\xfc\\\x81\xd1HPX\xd7\xdcu\xf7\xf0~\x18E\xa0\xfbi\xeci\xe3\xf7\xa4\xfbg9\xab\u007f_\nˇ\r\\\xb1\x92\xa2\xfb\x98\x87(\xe8\xd4\xd8\x06\xde\x05\xe1\xe9\xf9\x1c6\x03\xc3\xdf=£\x8fNtL\xe0\xf2\xf3\x9aI)xF\x8f\xf7\x1cq\n5\xb9}^νޡ\x04\xe5\x89C0\xcexb\x9dVI繲\x18ݥǽ\x99?\xab\xa4\x13\xd6Ŵ\x80\xaa\xde\xc30\x03\xaa\x1c\xf9\xd4$\xd8\x01N\xdd\x13\xe8\x81Գ\xac$`\xea\xc5\x05\x19\x0f\x13/p\xdbC\x82\xabY\xfa\xc1.\x1b\xb5j\x96$\x12e\xc1^]\x11\xc6ǂ\x91t\xbdW\x820\x8c\xf9\xbbO\xbb\xbe\xe7\xf4\xa5\xc8;\xbf*d\xabd:g\xbbO\x97\x10\xb1\xd4!Sv\xc3\x14\x1eF\xab\x8cm<\xadf)x^\x14\x97W\xad\xca;\x04\xa2\x02\xf8\xbb\xfc\xe2\x8d\xe7\xc7\xca\xcb\xc3)y(d\xec(-X\x89\x1c#\x11\xa8~\xad\x8e\x1f\xbcC\xb9\x01\x14S~\xcf\a\nXh\xec\xc8\x11\x03\xb18\xfe\xc4\x0fN\x96|\x04\xc8\x18o\x8c\xdb\xf6\xc7Ų\xe0\xa7\x16\x9b\x96\xe0\xf0\x99\xfb\xf8\x04\x14>N\x9cR)\xa7\xa4\xa2\x1f\xf9\x16\x14\xe0\"\x01\xf3\x9f\xdd\xe7\x16\xc1\xedc4\xe5\xf0\x15\x96\xb0\xbb\xdb\v\x1a)\xbb\xfe\xe66\xf0\xd3\x16\xb4ԑ\xd4鋐\xb2`\xaa\xf7*\xab\x95|\xfc\xfb\xae\x91\xd4_\x93\x8c|\x983|P\xb6\t\u05ec\x8e\xa3\xde!\x1b\xeb\x88VДᐪt*]\x9e\xd7\a\xf5:a\xe1C\x16lW)4Ԉ]G\x1c\xd2cA\xc1)^s\x9f\xe7\xfa\x13\xbd\xe3\x04\x96&\xcey耼\xb1\x183\xcc¬\x8ft\xf6\xee\x19\x1f\\\xcc5\xe9\xf0b.\xba\xb8;F4\x13\xae\xb2[\x19\xba{r\x11\xd5\xe3\xd3\x1d\xf6{J<+\xc3\\\x88\xe1\xf8\x1eQ\xc9x\xef:$\"\x0eK\xd7\xf66\x1dz|\xae\xe4Rw'\xad\xc63J\xc2*@\x1fJl\xb4z\x11\xbfK%W_5\x06-,oIm\xebt\xa6\blu>\xbb\x99)\xa7\xddUV3\xd3\xed\x18\x19<\x9c\x14ɋ/\xb41\x9f\x8cDd\xe4h\xd6\x17\xac\x82\x00\xea~\xc3K\xffw\xdaXֵ\x1a\xbaC\xe7\xb1\xf9\x12\x0e\x1a\x89\x04;b\xf5\xe3\xf0v\x8drU\xdb:\x0f8V\x8f\x10\x8ee1\x99\xe0\xd7\xc2\x17\x9a\xdaav\v\xee\xbb\xf2\xa0D\xca\x04'\xa5\x92ʖ\xa9tf\xc4Y\x9c\x0e\x90V\x1e\u05cfhĕ\xeb]'$\xcb:\xe1\x81\xef\xfdÁ{\xc5\xfcnB^\xe3\xefſ\xc5x\u007f\xfb\U000bbe0dO*\xe1\xb1\v\\\xa1\x88\xfa皷Ӭk\xb1\xf0\x0e~\xdd\x06\xfd\xe21\xaf\xaa\xfc\xd9K\xfe?\xa7`XR\x87V\xb0Ni\n\xa1!9|2\r\x80ڰ\xdaQ:\xa8\xbb\x83\xb4\x1eH\xa7\xec\x1d/Ѧ\xf1\x14{+\xf1\x19\x127\xc0\xae\x83\xb5\xb8_t\xf0\xd1%O\x83rB\xbb\r\x12\xff\xf2\x87\x88Ƀ\xaa\x88\xf0H\nq\x8dۣ=\xae\xcf2\x111Ya-ާs\xf6D\xb8U\x9bd\x94N&F\"L\xb2\x89D\xeb2\xf0\xde#\xf2,\x98\x1f\x03\xb2\x18\x15 oO\v\x82\xaeR]<\xa8\xa4:\xaa\xf6\x04\x1f\xb4\x8fF\xc1~\x94ҋ\x95\\\x9b\xa2\x19\xd6\xd9ŵXU\x15\x9f\x0e\xf4ZKS\x123!sމ\\\xcdBv\xd2CK\xe0\xe7\xef\x06\xe7\xd9\xca£\xbb\xaa\x8c\xa9\\B\xef\xe1y\xe6\x84z\xecL=ODު\x1dS\n\xed\xf0o#z\x0e>\x12Z-܆\x8eo\xf1\xf2\xf2\xe6\b\x00\xd8\x1d\x10\xc9\xcb\xfe\x1f\x0ej\x02׃\a#` \xea[\x8b\x12\xba%\xf8\t\xd8H\xcb\x1c\xc8\xd2\xd79\xafJ\x1d\xe2\x12,*\v\xccW]\xa4,\xf1k\xe8<\xb3Mwe\x9d\xcbW0\x98\xe10,=\x99\xa7]\x81[C\x8d\xdeLL\x0f/|\xaf#٦\xfa\xe7\fIݬ\x8b\xd8%\x1c\xd5<\x94^\x82)բl\xe3R\xab\x82\x97\xaa\u007fKK'\x89\x15\x18Z\xc1\xdf1\x06\x87\x8d\f&X\xa8vw\xb8\x9c\xf8PW\xecQE\x11\x84ګ-`\xd7좕\x81\xcb\x00\x1c\rZCq\x17\x93q#p`\xa0\x97\x84%\x0f6\xfem\xe8\xea\xebP\xcb\xd0\x02-\xa2K\xfd3\x9a\xbam$\xf1\x0fB\xeb\x18\xf7\xcb!\x0eA\xbd|\xff\xb8\xa2\x1enO\xc2Ys\xaf\x90\x84\xc2A\xabg\x04Q\xf5\x8b\v\xb9u4\xc0\xb1\xccLF\xceW\"T\xae\xe9\xa9\xc1لU\xae,\xef/kKo\xac\xb4\xa7ӈ\x12\x83\x02\xf0\xb7\x9c\f\x81\xec\xfb\x16\x9a|\x02\x89ӭo\xcem\u0381\r\x80WL\xa6\x14ҏ\x93\x8b\x88\x12\x1f$\x8dm,>\x01\xce Ph\xacR|\xb5\xcf\xe2\f\xe6\xad(\xec\xd8\xc29\x02\xbe[\xefiʔ\x01s\xbdT\xeb\xf16\t\xc3\xf4\x83Y\xbe\xe4~\xd1\x0e\x87æ\xf4=\xa7\xb2nmM\x92C\x1e\xeeV\\\xdf@\xc2L\x9dns\xb5\xb5\xd1f\xdb\x03pm8\xfdL\xb8\x9c\x934\x88\xc1\xb4ϧ^\x12\x13\x11\\\xe7G\x13Hy\x98\xf5\x82ND{\xef\xcb\xd7\xf4J>\v\x81\v\xe2>\xbf\xf1]! Ϋ\x00ǁk둷\xd8\x11\xf9\x93\xe0\x9fM\x8a\xa9\xc1AB\xdf|\xf2y\f\xb2\x85\x93\x02,\x91#\xe3㌨\xc0P\x1f\xe0\x11r㶥\x00'-\x1b\x13w\xc4i\xb4+S\xe1\xf3z\xdei\xae%-\xc5\xfe-\xbc\xbe\x06\x9d\x9bq\x11\xe7FA\xf7&\xc0\xd8_\xf7z\x95o9\xa0P{\\\xde\x16\xb4n\xe8'\x8a\x89%\xffx&\x88-\x9cz\xa7\xa7\x14\xf6>\xc0K\t\x1a\v-&!Icu\xa2O\x02,z\xc4\xe1\xec_Sʗ\xee\xe8\xb7\x10S\u007f\x9c\x8a\x9b\xbe>\xce\xfd\xe9/\x1ab\xbf\x94?\xbd\xdf\x1a\x816쐏\x9a\xcb\xd1 \x1a\x9b\xe9f\xf7]\xa1\xbc \x11\xe0|\xd1ȳi\xc6C\x92eӠv\xf5\xc0\x97\x93\xee\xec%\xc5]\xb8pW\x0e)\x9e\xf9Q\r\a3\x14X\x82\xea[\x11w\x81&9\xc0s\xcf`\xba\bW\xef\xceR\f3\xdbK\x0e\"v\x12\xe70T\xe2͐p\xf0ce\x14\xc1\xb1z\x9bM1\xa2\x18O\xee!\xca\xf6?\xa0@h\x01\xa8\x04L\xa5\x90݂)D\xef\x9c\xd3\tȜ\xd6כ\xae\xa3\x92\x10h0w\xde/\x82\xa7+x\xf5Q\x95\u007f\b\x10\xf8\xc1\xf8\x8c\xb5\U00105557\xc8.\xd8\xce\n\xafZ\x90}\x8f\xa8ڧ\x9f\x8e\xeb\x14\xee\xcd'\no\xf0\a\xcc6s\xa5\xd2\x11\x9d\x88\x85T\xc9\x026\xbf\x99\x98ශ.\x88~\xc2\xee\x95\xd1O-J+\xddx\x8d\xeb~7. \xa1w$\xdd\x10\x00\x9e\x9f\xd6I\t\x90a\x93\xe6\xa2_\x8fXpc\xcbKd\x94\xb0\xfb\x02\xf8\x89\xc0\u007f\xe38O\x88b\xc7\xffs\x94\xb1dm\x91|\x9f\xa7Bj\x94\xe9\xe7I\n\xc7\xc3i\x12\x108\nR\xbe\xeb\x10\x82\x1d\at\x8a\xf42\xf3\xf2j\xbe\xaf\xb4\x04\x94\xbf\xcb\f\xa7L\x97\xcaa\r\x9e\xa9\x01ak\xb1\xa4)\xf3\x9b\xbcu\x8b\xd3\x17\xc2\x00(\xd2|\xf2\x83\x81OY8\x14\xee\x16a\xf3\x85\x95\x11B\x9fA\xe2z\xe1V{\b\x1c\xaa&x\x17%\xe6?\xc8g\xe1yX\x8c\x96\x9d5\xdb\x10\x1bY\xee\x9f\x0e\x06P\x80ZEg\xa3\x8a\f\xb9\x1d\xc1\xb6\x88=\x97)\x9b\x1e\xbb\x86\x1c3\xd6\x10\x04H\xe6/0\xcf+\xfd\xf2x\xf4\xc0m\xd1\x0f\x06\xbc\xa4\u007f\xd0 g\xacni9S\xa1=D\xac`\xf9n\x06\xb5\x85f\x82\xffg\xeb\xfe\xf5\x8f\xb8\xb6\x8d\xff\xdaC\\L\x06\x1a\xb69\xaf\xa6Al\xd6\xda\xc8b\a\xb8ֆ\xd0\xed\x8da\xac\x98\xe0\xe2\fv\xff\xfc\xdcmj\xbd\x89\xa3\x06\x99\xab$\x00\xae`\xb4eN\x97\xdbR99\x1cr$\x89\xf6\xcf\x1c\x8e\xee \xc84\x0fC[\xc6Q\xa8\xe5\xf4rÖ\x06P\xbf˥\x19\xa7~3\x99B\U0005afb2\\\xa5ؖ\x95\x88\tnJB\xe0#\xe9\xc1\xf5\xd3X\r!)\xd8\xf1d\xe9\x8d%\xbd\xd6P\xb28\x93ނ\x1c;\x94\x97\xa75\\$\xbbHiY\xd5\xf4\xb2\xecadW˸\x06\\~\x1eեq9\x19\xb5\xcbk\xab\xf2-\xda\x00\x1fL\x85d\xaa\xc4zh\xb0\xa5o\xc0\x02n\xb3\xfe\xa3kv%j\xe7\r\x02\xeesBe\xeaL`\xef,\"\x88\x05\xcfZ\xee\x1f\xcc,yg@?cᐶ\x14\x1f\xc3,~a\x8f\x83\x1f~)\x94e\x97o\x96;\xce\xdeUYĆ\x97\xe1@\xb62O{:>\xe3\v\x8b\xd2\x04KPih\x82yF\xb9\xa243a\x06*\x85mJ\xc0\xb3\xc1\xf5L\xd6Ӵ\x00cy=\xcb{{\xe9\xf5\x0f\x16px۔\x05U>\xbf\xa7F\xc7\xdc'\x91\u0086\xa4\xc5G#\xc6\u07bd]>\f\x81\x8d\x9bD=\xc9\xf6\x022\xb2\xba;\x92\xf7Y\x02(w\xaaM\xa8\xf6r;N{\xf8\x8b\xae2\xdd\xed_\xfdui\x83\x03\xb8\xbaT\xcf\x14pU\xfa^-\xd8#Q\"\x11D\x19\x85Et\xbc\x1a\xb9#-\x94\tF\xbd\xbbMWLEG\xf4\xf4\xd0\xc5\x0ev\x1a\xe7\xbdW\xc8\xea\x1c9\v\xa1\xf3h\xac\x19\xf8G\xfc7\xd0\xe4E\xd9\xca\xf6\xc0\x17\x06SC\x87uM\a\n\x90D4\xd5\xce#\x95\xf9\xa7\xe4\xe8g\x88\xeb\xe9\x1c\x1bxM>\xbd\vb>$3^КE\xa1\x03n\x01\xb6\xd5f\xbdX\xb5\xdeZ\xa5\x0e\x13g\x17\x95\xb4\xd6\xe9\u007f\xb1Z!0\xddU\xfd\"7\r\xae\xa3'\xc5\xec\xe23\x85\xa6\x13\xb3O\xbc\x99:\xa4j\x1d?\xc7\x1a:\x95\x90v\xe5\x87\x06\\\x83f\x92\xe4FN5\xa9B\xaf\xe5\xa8K{iP`\x1a\xe24T^c\x80I\b,\x9e\xbb\xd0Бy\xad\xcc\xc9\xe3\xd7=<\xed`\x05\x17OC\xf7\x0f\"\xbb\x04\x02ͷ\x8a\x86\xf7\xc5\x05\xb4\x17\xa6\xcc\xd2ڔ\xf8\xd2?\xbf2\xef3\xe4\xd6\xe3*\x9e\x04\xd6\fW/\x02\xd0\xd0~\xb6I\xbd\x91#\xf8_\x9a\x82\x8a\xa2\x82\xbb\xc2q\xe8\x8e\xea\x9c{v\xb2y\x82OM\v\t\xfd\x1bG\xceB뼭\x16\xc1gs\x92`\x05㗜\xe8dFVp\xc3_\x10X\x83)\xd0\rK\x86iQ`E\x89\xa3\x99\x15C~\x15\xa2\xfe\x12Y\xd0Hy\x97Y\x06$8\xf2\xb3Ѕ\xa9\x17\xe8D\ris[\xe5\xe8?*\xca\xf2jE\xed\xc8\xf7\xee`\x12\x0fYL\xf1\xda\x1a&/[\x02\xc7\xf4{\x032Q<\xba#!J\x95\xeb^\x8e\x11\xf3\x14\xa1\xaa\xbf\xb4\x86\xb5\xbd\x9e\x02sW\\\"\x9c\xdb\xe0\xad+\x9b\xaaX9Kq1gZ\vd\xcd\xd7\x0f\xefЄ\xfb@\x17c\u03807\xf3\xe3\xd5+\x92\xdb(S߱\xa21o\x01\xaf\x98|\x84,v\xa3[\xd2c\xf8c\xf2\x01\xf2\x8e<\xad\x98\xa4D\u007fg\xdf\xf0\xa9\" l\xf9\"\u007f^%\x06s}\x89[\xb1Z|\xa3\b\x8a?'\x9dqc\xcf֍\x93\xb2\x930\xb969W\xc5\xe7\x18=\xf9\x1d\xb5\x98]/\xf0\x84\x9e;YD\xb5\xc9]\xcaD\xc1\xad:e}\xf3\xb4\x0eQaY\x90ĸ\xf5)\x8b\t~\x9ea\xdd\xe44\xb2r\x1bA\xb5\xb9\xdf\xf8\x1f\xbb\xa7Xa[Ƀ\x99\x1cy@~`\xfd\xb2\x90\x9b\xf3\xcc\x15Sb\x81O=\xf5r\xb1\x84\x05\xb4\xbd]\x9f\x8b\x828\xf4\xafTtFUaosXF\xeaͧQ\xd3\xe63\x80\xfa62pe\xc5\xf6,\aGG\xec\xc3\v\xc4\xc4S0@xr\xd4r\x06+\x16\xaei\vJi\xbaC\xe5h0\\\x10\xbaem\xdbq\x85\xa4Dhk\x0ep\x82\xf4\xdf\\\x82\x9a\xfa!\x8e1H\x84\vp\xed\xe1X\u007f6|\xa7.\xfcߵح~T\xe4R%H&T T\xfbEK\x02\\\xe0\x1a\xef\xf3\xa2\xc2,FK\x8b\x16\x1f\x90_\x04\x17>L;\xa3\xaa\xa5\x85Im\xe8 \xae\xdc\xfc>@r\xaa\x17\x9aQ\xa4o\x03\xca~\xc90~\xf4X\xe6\xdf3݁O\xa9\xfb\xf3Hp\xaf\x15\x15\xfdވ\x0f\xdf4\xf2X]\xc5\xef\xca5\xca\xec\xd1\x04\b\xd5O\ro\xbe\xe7cA\xa1E\xdf\x00\x95n\x87C\x8e\xc1l\xc3i\xf2\xf3\xd0ؖ\xbbBE!\x1bY<)\xef\xbc\xc5\t\xf0M\xb1\xeav\xfe\x8c\x9a\x91id1\xc3\xcf\xc6h\x9aLU\x88\xdb)K\xd6\x1e\x14\xf6\x06\x05ZoQs\xdb*\xb0W4\x0e\x9b\xeay\x12\x16\xf0\xd2\xe6\x12\"\xd0\xe7k!\xefT\x11\x1b\r\xe9\xd5\fz\xc0~kA\xdc\xe5\xf7\xacç\xa8\xcb^\xbd\x9aH\x9b\xed\xc5\x18e\x11-iգ<\xa79\xd8*ͮ\xaf\xf6\x9a'\b\xbeD\xe3\xa9ʍ\u0600\xc6`}$\x1d\xa3\x80\x93j\xd3|\xa4\x199\xfa=\x9dw\xcb\u007f\xd4V&N\x05jՋ\x8b\x84\xfa\rF\xfd\xdf\xcft;.\x8d\xd0\xe1Zb=e;h\x99\x12\xe0Ne.\x19O\x80\xa4\xf07#\xb6A%\x06\xbf\xedU\xe3\xbe+\x85\xab\xba@\xe6yp\x8a\xba\ny\nƔ\xf3U\xe7\xe8*4\xa2\xd0z\x0f\xa9x\x0e\x19 \x80\xbcP\xa5r<\x99\x10\x9f\xae\xab\xb6\x03s]\xf1\xf8(\xeb\xe5LeM\xb5}-\xe7L7\xe9)\x9d\x17\xbaj\x86\nW\x82ب\x94bg\xe4\xd67d\x80R\xa1v|\xdf\xec\x13F!\xec{g\xba\xf1\xea\xbf.د\xe8P\xde2B۵\xbf0\x85\x94\xd2L\xbb\xe4I\x06N~\xf0\x96\x05\x0eJ1\"\x86ٳ9\x94\xebOdz\xf1\x99٥\xa9?w\x8c=\xd6\x10\xb2'\xf8\x19\x11e\xab\xfew\x86\x1b\x1c\xa4^\xb5d'Np\xf2\x840\xa0\xe9\x8d\xc8\xf3\x8f\xff\x1a+s(Hu#D\xf5\xa1`\x9f\xf7\xde\xdf=\xab\xd3:\\\n\xd3\u0602U\v\n\xbaX\xec8\xd4\x14OF\t\x1c\xe8\x94R$M\xf3v\xe8\\\xbf\xa7Q\u007f\xfc\xf5\xbe\xd4b\xbe\x0f~\xd1\x18]\xa3\x04K\xdf|\xae\xd7\xed\xa5\x19)T\xb6\x92j\f/\xd1\xe49\fC\xe4\xf3\xae-Cg\xa0u\xa5Ljیҏ\xba!\xc3\xf2\x0e\x1d\xb2\xa3aa|\x17K\xe3\xab\xed9\xbc3\xe5\xd0\xca\xf6CP\xd3sk\x85\x18h:R\b\x1a\xc2x\xf4\x06u\x92\x97Н\xb0\xd0\x1e\xd2zȹ\xb6\xc5\xd6L\x03\x14\xd4\xe6\x93\xc0u&>s\xbf7VQ\x16u\xed\rÐ\xb9N\xc6\xfc\x84\x1f\xc4z\xdd,\x83\xb8\x1a\x88\x90;\x83\x9c\xdd\a\"\xafJc\xc1\x98N\xfa\xfd\\T҇\xc7+\xab-\xbd\t\xc6KDL9\x02\fB\x90\x16KF#\xab\xd4}\xda\xf6\xbe\xda1ۓ\x01B\x18 \xf1\x98\xf9\xb0\x8f\xc7Y\xec\xa0\xcb\x1c\xac\xa92\x1f\x13-\xa1,I\x9f^\x13\x92ʅ\x86\x04\xb9*5$\xf4\xfe\xb4J\\E\xf7\xe1B\xf9\xdeA\xd7\\]\xb2\x99\x14~\x84\xa2\x84\xa12\xa4\xb3\xad\xd0\nJ\x1awL\x18*\xbfܕ\xe1,\x11.oh\"\xa2\xb8\xcbP\x92\x993\x11\b#\xeca\x04\xdd\xf6,\x17\xa1Ӓ\x84\xaf\xce\xe4,\xe2\xc5B\u007f\xa7oFQ;\xabZ@\xce\xf4@\xc9\xddp\x10!(/\xe2\xfd\xd3\ahp%AZ\xe1\x99\xeb\xd4PTZ\xbb\xc8Pw\xe7\xe8\xbf\b\xfb\xf2\"\xf8:\x0em\x9cc\x8d\x81\xa1SG\xf1\x8cs\xb3Ƃ\xf7\xdeCg\xb3\xb7\xde\x04\\\x8dq\x9d*\xa8\x9dS\xd3\xffC\xbe\xd0w<\x98W6w\x14\xf2\xba\x8c\x15ﺊ0z\x13\xe5\xa7\u007f\xd5\xfd\xa0G\xa3\xa1\xf0\xcc\xe52=\x9a\xa7\xa1\x95\x03\xb4\xe2N\xc2J\xe9\xcd*]&\xab.\xff\xc0\xf4\x9b@\xd6\xc6=\xacHY㕂n\xaeAf\x18\x83\x84;\xef\xb9f\xc6\x13\x94\xeaD\xa9>p\xadUU\xe1\xee\xd31h\xa1\x11\x1d\x90]-\b\xf6\xa5\xf5\x8d\x952z\xd5\xe6\xaf*\xc1\x03\xd3\x18\x16\x1d6w\xa2\x8f{\xa3\xbc\xd2x\x87\xb0\x04:2\xf9p\f\x8fm\x9aj\xb9\x8fdc\x9b\xb54\xf8-\xde\xcf\xee$\xba\xbe\rS8KjK\xd8\xfb\xe0J\x86\xaaػ6\xf2j\xea\xe3\xf2\x06\x98\xc1,\xa0B\xa3V\xb3]\xbf\vBXÐ\x1b\xd1+\x1c\xb80\x98\x14\x93\x13\xf1)\xf5\xf0t\xa5\bf\xe6\a\"S\x1b\xc6B9\xb1\xfa\xe9\xf7\xe51ټ\xfe1,~b\xb3\xa2@\xe6oRGH\xc3c\x8c\b\x9d}h>f\x88\x01\xf7Y\x9e\x1c\x06\x91\x12\xdd\xe0c\xb2?y\xe2D0FUR\xa0\x8aY\x1f\x800>_\f\xe7\x1aO\xd6\f\xfd˛\x03\xd95c\xef\x00\xe6\x1b\x97\x02\x18,aΨ\xfa\xe9\xf1SWxWPPt7I˅\xa2\x14\x106N\xd8\xf2\x0e\xcdκ\xba\x8b;yƈq\x85\xe33\xb9\u008e\xab\x1b9\x1d%6y!\x0e;\xbf\xd9\xd9Q?5#\x86}\x1frAdd\x82U\xcd\xe8z\x8f\x96\xabYh\xb081\xb7\xbb\x96\x87\xe2~\x96\x18m\x98z;\x06\x17\xa4{\xff\xf5\xf4\xe6\xe8bp}\xbb\x02\x899\x8aЄ\xcd\xe0\f>a\x83l\x1d:#\xb1\xado\x05mf\fu\x85Ѱ\x84\xa1]\u00a0\x9d\x85L\x8d6\xe4\x98\x0f\x94Bp\xb4\x04\xf2\x1dZe\x10p!ĝ\xf0\x15rq\x1a>\xaab\xe9\x1f9E]Z㋭\xb2`6\xb2\x80\x95\x93\x97\xe4\xcb\xef\x1b{\x8f$ܫ\xdfd\x82\xafȬr2\x925\x96\xba\xf4\xf4r\xab{\x9e\x14ml\x93~A\xad\x9c췝\x12\xdf\"_\x12\xa6h>f<^\x88\xa6\x89\xe0yN\xa9p\xc4\x03\x81\xcb\xda{mI\x9c\xacZI\xdc\xeb1??0\x894\x81\xb1\x0f\x06Z\x97\xb1\x14\xb0\x1c\x8f\u007f<\x88\x00\x91\x03\xde\xc45O\x99-\xe2\xb6!e\xecp\xa4\xa4\x8aU\xabycJ\x92\xbc\xd7\xc6\xc9\xed\xcb\x00\xde\x17\x97\xf8\xcc0\xe8\f\x1f\xa7\x15\xb3\x00\x16Z:\xa8\a\xc5o\xb5l\xb7\x83\x9e\xfebtX\x04\xf6\xac\x1dD\x02\x9a{z\x19\xb2Xj\x92r\xf6\xa2T>\xf6{$\xba9K\x0f\xa59h\xa5\xd5~\xf2\x97\xba!\x89\xb4!?B\x01a\xdd\x14\x17\xe48\x85\xbf\x8e\xadn\xbe\xd4\xdf\xfe\xf8\xcd#\xef\xda4G\xd5>\x80\xa1\xc9 \xbd12\xd8\xfd\xfcJ\xc7F'\x80\xe9\x05r\xf8\xecYH \"dU1\xc2\x04_\v\xe2\x1c\xe9k\xef+7\xda#\x99\x8c\xccΕ+B\x98l\xe3\u007f\xa8\xaa\x9d\xb7͖\x99dCΆ\x9c\x17+\xa5\x14u\x13\x18\x95R\xf3\xdeb\xc6:w:\xf2\x98.\xf2\xdf\xe6\xc1\xb8\x90mu\xa4\xa3S\x18\xa7\x15\x920\x9f\xa1& !K\xfbH\x934\x04 V\xd10m,\x8c\xcc6\xd8Ǻ\xc6\xf9\x0f\xb2\xec\xe9\xae\xc6gT\xfdx. \x9ea\x8b!j8\xa3\f':\x8bU\xc63z\xd1\xda\xf6\x96\x82Qc\xec\xa6\xee-(\x05\xef\xf4\xae)\xccޏ\x00\x11\xfb\xcc\xfd\xcc\x11\xbc\xc1w\u007f\xd4W\xfdT\xd8+Hn\xa4)\u007f\xfc\xf6\xa7\xb6_\xaf\x97[;\x8b\x96\x1fm|\x03\xcc_~Hį\x9fV\r?\x94e\xaf\xbf\xe8\xca\xf6\xfb\a \xab '[[ݺ\x9dk\xd1\xfas\x1b\u0383I\xe0\xf0p|\xfd\x10\xd3\xfb\xf0\u007fN\x89\xab\x16\xd6\x1a\x15\xbd\x8a_\xbf;\x04\xef\xd1Ƙp\x8f(\xf0l\xc3\xf6\x95\xae\xfc\x19\x13H\xb2\xa7\x8b\x99\xf7\xf5ڰ\r\xf6\x99O8f\xf3n\xb0.\\\xb6\v\xe9/L\xebj\xa9\x1chZ\x9b\v1\xa7>\xb5$\xf5\x84dB\x1d4j\v\x0en\x8cP\x86\xf6?#|)\x01\xc9\xec\xac\xc5\xd1q\xf8\xb7l\x80;\xees\xf5\xbf\x93\x80J);\x93\x97\xbf}\x01\x8fi\x8cc\xb5ц\x9e\x19\x1f\xba\xfb\xdd\xe1͑ OO\x8a\xe5\x1c\x10\xbb\xc1m\x8d\x12\xe2\tt\x0e\xd5};\x90,\x10\x02fc\xa8\u07b21A\r(NL+\xc8mw\x9bf-\xf0\xf0\x05W\xe6\x1es\x9a\n\a\f\xd5\xe5O\x15.V:7\xc8\xdd\xc4\x1e1\x82\\}F\x1f\x1c\xea(\x16\xa8\x8f\\\xe9\x9d.\xdc\f\xe4\a\xd9ӉZ#\xcf\x16\x8f\xd3\v{!\x97!\xde\xf9Sg\x05\t'\xaa\xf8\xb2u\x17\x02\xba\xd2>\xcdWKT\xb9\xae\x83\x91 \xa9v\xde\xc7X\x87\x88!1\x93\xe8\xd2C~\xfa('\xb3\f\x03\xb2\x03\x0ez)\xe6d\xbf\xbf̤\xf1uT\xf3\x01<\xb69X]x\xbdEi\xe5\"\xeb\xc6\xf4\x15*w\x03T\a\xdd\xdb;Ǭ\xc0\xa9-\x13\xcbqJ\x93ŀ;\xcd>-U\xcb\xef\x05\x02!:oX\xd8K\x88\x97οYgA\x12\xe2f\xb0\x8ax|\t\x8dj\x98\xcfe\x90\xa4u\x06T\xfb(=%?\x92ړ]R\xedԧ\xad!\xaa\x1fg\x96MCm\x02\x87\xb0\xe43ҳ\xeb!\xb3\x17\x85\xc2m\r\x8bC^\xd5ո=\x957\xa4\xc3\xe7\x9aAg\x18\xd7Bs`\xf4\x999\x14\xbf\xd8~\xd6\t\xd0ƺ\x9f&g\x998\xfd\xb8:\x8b`L0\x8egV\x1f\b\xb8jY\xac\x02\b\xb8\xbaڃ\tZv\\\xe6n\xfc\x88|\x80EO\xc3\xe7\x01~*\xe5\xc4\xe8h[\x0f+\x1690\xe9\x81\v\x95\x05\xb1\x81\vT\xb0|*hv\xa9\xe2G\x84\xc0$\xd85\x97O\x1f\x14B3\x81\x0fߧdh/\xb4\xc70]\xd3b%\x1b\xf4A\x9bg\x9c\xe3\x00\xf8\x89^\x90\x8b\x873e\xa5\x88\x8eh9\x85c\u007f(G\x91Hw\xf4\xb2K4kOGͱ\xf6\x91\xe8r&\xe6M1b\x99E0\xfc\xd2\x10\xccj\ten\xb3 \xa0.\x03\x10\x18\xe4UN\\\xea\xe4\xfaJF\x93\xbfܖ\xaf\xe1\xf3$P\x97x\x9f\x04\rh;У\xe4\xc3\xc8}\xcc\x13,\x06\xf1=]I\xe3\v\xf4+\xafֲ\x92#<\xec\xd2\f}=b\x81\xbd\xa5\x9d\x98s\u007fȵ\t\xd0)\x1d\xc4\xd6@(\xdd\xdar\x9e\x8f\x04\a\xd9d\u0081\x9f\xc0\xa6\xa1\xe0\x83J5\x0f\xa2\xb6v\x9c\xe4\xec\x8fW~n\u007f$\x12\xac=.P[o]\x1bⴥG\x99\xab\xe6`Z\xee\xe6\xcdQƳ\x93\xb7ʏEn\xa8i\x9b?\xd3 \xdf7\xd8\"W\x88\x9a:\x94㏰v\x83i\x96\xf7)!i\"p\x95\x1c>Po\xa7\xe8\r\xb56\xb43\xd1\xe7\x94CL\xfc\xa4H\xc2\\\x9f/2J\xc4\xc4\xf9\x882\x1a\x9aa⇺\xa8\\\xd3a\xce耥(]\xac)39,\xf3\xa8S\xf1\x04YI\xb3\xdaBj\xa3o\x82X\x817Q}\x18+C\x88E*]\x9fr6\xb5\x04\x9ds\x95\x1a\x04\bG\xf6jV\x85'\xf2\xce[m\x8b\x9e\x0fޫ\xf5\xd5\x1c\x0e=/\xf1y\x115-U\x98l%\x16Sl\xc8R\xd6\x0e\x03\xeaHl\xd0S\x18\xac?\b'f/\x9au)\xa6\xdfI\x8a,8\xca\xfc5\x91\x97OMS\x82\x95\xaf\xe0\x141\xd5r\xb8\x95\xa8\xa5D\xa7!p\xc0\xcfL<\x0e\t\xa0\xbfD~\xa7\xeb\xfb\xb7\x9biBv\x9b=\x19\x036Pr\xac\xca\x1dG\xb9~\x12\xe3\x12\xc2\xc1,\xd7\x0f\xde\xdd4\x18\x8f\x8fﯬ\xa8*\u07b8\x0f\x90\xcb`e\r\xe4\xf8\xc2*A;#\x14Q\v\"\xae\xf3\xc1\xe9\x04C2\xbd\xf3Ku\xa0HU0\x8e\x1b\xd5\xee\xf9\x0f\xb7\xb9\xa8\xec\"\xb4\x1f\u00a0_\xdd\x03Ƃ\xff\xc9k\xd7ᐳ)\x98\xf0)gs\xfd7?\xb7[5\xae\xc6\xc3ʵ\x8f\x1b\"\xf3\xa2\xf7\xe1\xe7\x1f\xf72\r@\xfa\x8b\xb3\x99\xae\xf4\\\xc1P\xbc\x14a\xdfZ\xd9dS\xf3[jK\xc1\xa20y\xaa\x12\xd6\x10\xdb\xc1\xac\x02\x13\x14\x16\xad%\xf4I\xf1\xc5d\u00a0\r\xee6>M\x0e\x15\xd1ϧ'd\x94\xd4\n\x9b\xd0F|\xba\xa3\x93\xb6\x12*\xb2\xb1\xe9\x9erP\xc7Y\xe8\x12\xdb\xd8ќ\xad<\xfa\xa7\x16\xfc\xa1Y=\xa2aݟ\xda\xc5\x16\xffQ\xc0\aOK<\xf8\xaby\x9f\xa9\x95TJ\xce9\xc2)\x9b\xf4\xc1kN^\xc1\x0fz\x85\x86>\xfa\x1c)\x18ң\x05\xd3f-\xefL\xa3\x11\xaf\xf3#\xf2\xe5\xf5\x96\xfe\xe3\xa9\xf9\xd62\xa8ݴ-mr\b\xae\xa0\x98b\xc1\x04˚\x06%\xa0\u05ed\xc0\xec\xe2\xdb\xc9\b\x064CЮD\xf2'\x8dX\xb1\xc1qѷ=T\x82\x86JP\xc4k,!\x8e\xa7R\xe5\xc5R7WRS\x9e`\x89gD\xbfl\xe2^\xceX\x92\x9b\x93Qz\xba\x8f\x1d\xe0\xd8\x13i5\xfdH\xb7\xe1b{Q\xd1l\xceN\x95\x1e\x9e\xa8\xe3\x96%\x9d\x97\x01ҭr\b\xb5\x99\xfcS\xbb\x90\xbde\xa2\xd2\xda\xd1\xf3\x0422\xf1\xb3\xed\xc6\x11\xa2\x95\xf9\xfc\xe7Ͱ\xdf\fm&t\x1b:\xcd (\x86EԆq\x1f\xc8+t\xe0\x93\xf1\"\x05\xa8\x1c\x16\xe0Y\xf1\xa6\t\\\xfdS\x05\x05\xabb/\xac\x03\xac\x94-m\xb6\xfd\x9b\xe1\bp\xacNM6G\xa2nOKf\xa1.<'\xf7\xcd$r\xb7\xf1,7\x15W\xc4\xf5\xc1[2\xf2p\xa3\x8b\xfa\xc3\xdcr\x99-J\xcf\x10\xc8\v\x06\xa6+\xfaк\x8d\xeb9\U000ddc83\v\xdaF\v\xf5\xbb\xa6\xa94\xc6\xc2F\xcb0\xae\x93fHA٠k\xfa\xdc*\x85\x932$\xfa\xa6\x18\xeeg_\xec3\x99\xb2\xd3\xf4\\\xf6\x9d\xf5\n\x94k!\xa3\xd7x\x16\xb5\x008\v\xd4,\x99\xdb\\\x82\x93eZ\x99\x06Q\x17\xe0\xf7\xf2e\xc4\xf7\xf6\xbc\xfa\xa5\x03Ho\x8d*\xd7;\xb7E\xf9Z-pM\x13\x19\xcco\xd0b\xa1\r\xf6%\xedm\x92.\x86\xb5&\xcft\x97\xa7U*x&5\xcb\xc8z\x8b2L\xb7\xc5\xfc\x19!\xecCuw\xd3\xe0$\xd8ր\x84ϛ<\xa5Ahܘ\xf5\x90P\xe9\x88c\xbd\xc4\xf3vz8\x17J,\x06-H)\xf2\f\x94N\x8f\x88\xe5\x9e\x05\xc1\xcd\xe8\xed<;\x93\x1cw\x91\x0e\xaam!]\xfe\xf1/h\n\xb1ʱ\x0f5\x8f@*7\\꒛(o*\xd5B\xeb<+\x16\xbd\xb5Qp\xcf\xe1J\x91\x11\xc2?R\xe0W\x02\x87\x901?\xe3\x01\xe8`H\x8e=,&\x81B\x83\x17\x93\t1\xcc\xd0\xed\xe8=\xc0i!'\xb74\xbfʲz\xbdw\x84\xa4r\x173\x9fz\xc3x/\x80Ϋ\xadYk\xa9h\x8c\x18\xaa7k\x1d\xb3ʕУ\xdfn\x178\x18s\xc3\x03\x8e\xf3\x12CX\xf4\a\xbe\xa4\xb8\x03+\x89\x13\xf7\x1dd\xa0W\x1ag\x11\xaf\x9b\x15Q\xaa\x9d\x06JS\x03)pl\xcc\xf9\xa1\xb0\xb5\xc9\\M\xe3\xc2\xd9\vH$Xu\a\xf8\x8e\xea\x13v\x0e\x8fr\xc2\x13\x98,w \x0f$\x8c.\x05\xe6b\xf1]e\x8b\x1f\"\xc2z\xee\x04\x97(n\x16i\xc5/\x19\x1fj\xb7\x1f\xb8fz\xf1\xe22\xa2\xfb\xb9\xee\xa0\xc28\xaa\xe5lA]}Lc\xf6\x1f\xb6\xc6*\xe7\xd7=K\xfd\x81Hk\xd6G\x8e\x9bH\xa6M\n\x8b!m\x00\x12\xc8\xe0\xb6n\x82Pr\xebPv\x98e\x00\xc1T\x90h\xed[\xc2\xf1\x93H\xd3eV\x11\xc2̹\xa4\x9f1sZJ7\x00\xee\xee\x01b\xa0W\xb0ݚ\xc0\xf5\x9b5\xa1I\xd9q\xd3PX\xde\tfZ|\xff\xa3N7\x0f#\xee~\x14\xcc\xc7\xfd\x91=\xf2\x84\x0e\x17\xd0\x1b\xdf\xf7\xe7V\xbf\xc5x\xca\xc7m=\xde\n\xff\r\xf5\xf8\xe9\x88B\x008²\x1a\x99M\x1a\x8c\f\xf7\xb8)\x1b\xdf\rG\xed\xf5f`\xeb\x1e\xa9\x15\xd4,\xfc\xcc\xfe\n=R\x9f\x00Zn\xb8yӘ\xd7O\xd4\xd4|\xc4J\xce\x1ac\xe8\x89\x00\xe8\xdd\x1b\xf2D\n\xec\xb0\xff\xe4\x9b\x05\x11\xbdOx~ȑ㒊\x10\xd3E\xde8\x86\xba\x87\xbfFϻ\x88ؙ1\xbb\x15\xffl2\xa95S\v\xbb\xcf\t\x05\t\xb4\x0e\xed%\xe3\xba\xed\xdcOS\x98\x1d=\x1b\xd7\t]\x90\x84\xc5.R\xe2\xa7/\xaeu,\x904\xa21\xcfx\xefa\xa2\x92\r\"\xf9ҲD\v\x9f4\xe3\xe0\x97Q\aG\fW\xf7-\xa0\x8cJ\x9d\x8d\xb5\xdc\x1c\xce\xff\xf2\xb9\x01\xb0\xe7==\xb1\a\xddV,9HV\xc6\xea1\x16\x84\x8fD|J\xb1G\x8aȦ\xedZ?\xf7\x91rr\xcb\xcd\uf876\xf2\xea\xfc\x81\xba\x99r*D\xb5\x8c\xcd\x12c\xba\x98\xf1S\xc8pKd\xa4\xe4\xaa\xd6\u007fCx\x8a\xb2\xb1\xa6\xb3\xfa\xab<\x10K\x06\xdf\x15\x81\x89\x11\xcf\x1a\x00@\xccV\xf5\x13\xe3\xf5\xfeO\x19\x9fؾ\x88u@eA\x98*\x92\xba\x15\x9c\xd4\xe9)\xbbz\xf8\xb6\x8c^\xab*\xd8n}\ny\xc2\x02\xae\x01\ng{\x887\x14&\xa7\x82\x8d\xb9\b\xa8\x86\x80$\xeb\xbf\v\xbd\xf5\xc5\x06\xbf\x1eP\xcd\xc5\xcf$b+\xe4\xf4\xbf\xd7S+I\x026A'\xe4\x06\xa1,ʬ\xfa\xa5\xb9\vC\xf6\xf0\xb63\xbd{\x1c\x00?`\fBok\t\x98h\xe2\xedf\x0e\x03\xf8\x9b\xeb\xa7O\"\x82d\x0e\xc6\xccE\r\xe5\x12\xc1\xb8\xef\xd1\xce:>\xd0\xc6\xd8pQ\xfe\x89\xe2I\xbc\x88\x96(\xd91\v\xfa\x15\\x8i\x04\xad\xc3B\xc0\xb3\xc4וC\x8f{\x10\xdb\xda\xeb\x95H\xfej\xd2,\xdf\xdc\xfd\\\x16{\ue6e5!R9\x1e\xa7-\xb7)\xadd\x94,p\xc33Cu)\xde\xf6\xf5\xa2M\x0eˇ\xf1\xa7ϼ\xf1Ad\xaf\x8eCYv\xfa\xa3+\xc2EE`u;\xb3>K:\x16\xf6\x86\x9b\xe8yE\x89\xd1\xd4w{ε\xe5N\xd9\nD\xf6\x01\xe9\x12\xc2Į\xb9\xe8)\x05\xa1JC[\xfe]\xa7\x9e\x82#H\xc0\x1c\xd7\xf7h\x9f\xc6vk\x02\xb4%#e\x18\xa3F\x9b\xbf\x12\xf1F\xe3j\xf7b\xa2\\I\xb6}:\xd0ۓv\x8ec_HȣN\x00\xfc,ZJ\x8f\xb39\xc4\xf7*ө\x06!\xdb\x1b\xb6\x98\xcfʟ\xbaD\xeb\xc2H2̺Ij\xe5݅\xe6\xeao\x01\xe3j\xaf\x04C\x9b.\xcd6\x91\"oH\xf2<\xda\x1a\u009e\x8d\x1c\xf4\xbf\xfe\xd8e[\x1e\xbeŞ\xec\xd5@\xf7\x11qؼ.~\x90\x1c3\xd8Ҭ\xa5\xb4̐\xbbo\xfek1z\xc7\xc346R{\xafG\xf0ׄ\xda\x12r\x18\xf7\xed\xe6\xb3X\xcb\xdd#\\o\xa5\x02\xdb\u007fRm\x034E\x9d\xe6}\xbḟ\x1a\xe3\x04\x01\nf\x19\xf8\xbc\xf8G\xbc\x02\x80D\xb5\x86\x1a\xe8\x10\xfeo6\x96\x9b\xac-\xeb\x19c\xfa\x88\x92\u007f>\x13O\xff\xeeȿ3\x82\xe1\x90\xc8\xc9\xe2eM[Ȑ\xb0Q\x9e\t\x8a(\xbc\xe9\xb6?\x11\xdf\x10'\x00\xe6\x13\x919,\xc9\xefA\xbe\xdd\x10\x156c8\xb4\\\xedMmyl\xbd\xd0{\x05\x8d\x1b\xfd\xd7\xc5\xf1!X\x8bO\xca@\x8cOu:,\x81\xf6\xedW\x83w\xc5e\xb1\x85\xb9Ν\x0f\xa2\x90s\x0f\xc0i\x94%\x97\x13\x0e\x8f\xc7; \xd6\nA\xffٔ\x9a^\x9d\x0eG!\x9f\xa2\xe1R\u007f9\xcc\xed\xb4\xcf\xffת^af\"\x9bi7\xc9\\\xfb\xc9\xd9f\xbf\xfe\x99f\xc7K\x86\x92;\xbc\x01\xc0Ab\u007fv\xf76\xf9\t\x10\xb4{%\x86\x8eo\xed\xebǘ\x1b\x00G\x1ccC\xfd\xa5\xdc1`w\f)\xba\x8a#\xc4\xcd鼫A\xfbL\x92e>\xad\xca\xfdŌ\x9e\x99\xda\xcf\xd2O\xaeb\x8c\xd9=x?HwC\x99\xf7ȋ\xb9\x02O\xa8\x98MJ2\xd0O_m\x9cH\x85*\xb6\xe4w\x02\x9f\x93/E\xca3ӥ\xc3I8D\xb9\xc7j\x92[]A\x0e\xef\xab[7pq\x8c\xd9\x1f\xbcz\x1da9>wf\xfd\ft\x13`V\x8a\a>B\xc9\xe6\xc9X\xa7/\xe8\xf2\xf4\xa2(\x93z\x8c\xbdƤ\xb7\x12S\xdd\xd3\xf4N-D]@\xb6\x8c\u05f8s\xc0dG\xa7l\xfbl+\u007f\x96d\x12պH\x16h\xa5\x1f\xbb\xc5R\xf1\xadm\x89\r|z\x8a!\x04h\x91\xe1\x1ft:|'\xce\xfd\x00\xb4\xd7i-\xc9\xce\xf0\r\xad\x8d;\xf2U7\x8a*\x1b\xff\xd95\x8a\a\xa4\xf5\xd8DʢR\xed\xbe\x8a\r\xa0\a\x8f\xdf$\xf2jq\xeex\x19#\vA\x80\x19\x92\f\x9d2S0\x06\x9b<Դ\x0fQ\xa3\xec&Sv\x9e\x8fcqA\x01\xbcEo\xbe\xc3\x0f\xc5'\x97\x88|p\x18I\xb1^\xe8\xa3͟\x8cD\x9fN\xa6q\xe8\x88*\xfa\x93\xac\x99|\xefn7֪V#\x9d\xa2\x149+g\x0f\xa8\vVŖ\xae\xba\xe1\xc3`\xf0r\x8fGi*\x8a#ߟm\x8f\xdc\xc6Atѭ\t\xc4;\x9e\xded\\\xb5f\"z \x9e{s\x1b\xaaw1\xa7\xe3\xbe\n\xadoo\xf2\xe7b\xd7\xf3\x86`\x9d\xabp\xe4\f\x11:\xafW\xdc\xc4Hh\xf8\xe5a\x1a\xa9\"\t\xa7)\xfe/\x82{9$s\x82!xߕj\x1aQ#\u007f'\x94\xc1\x9f\xe0\xae]\xf9\xce\xff\xefgZn\xc0O|\x96R!\xa6\xbe3y\xe6(܀Vs\xf8K\xb4\"\xc1\xb3Ar[\xf2\xcbu\xaf\xa2\x18\xd4\xfae\xaeҨ\x1a\xf8\xb5\xe0챲\x9d$#@&\x87N\xde\xc6(F\xb2{a4\xfd\x8d\xb2[7\xa8\a\u007f\xe5\xee\xee0Qw\xbb\x10\bb\xd5\xf8\xad\xc1\xc0s\xd5ڐM\x02&\xd4\xc6$*\x89\x94\xf6Y\"q\bd8\x1c\x93w\x928\xc2,G\xfcZ\xc5\xc7\x1a쌮F\xce,\xea\x8f\a\x91\xfe\x90*\x88,i%\x05[\xdf\xfas\xc0\xcc\xd0\xd6d\xb2Xa\xc0\x87\xf0*\xf8\xa3\xffS\xac\xb8\x04\xcd|M\x90\x11\x8c\n8\x87D\x9c\xdb\xc1\x88\xa6\xea\\\xd1`Z\xb8?\xfe\xe7\xf9\x983\xc2ڔ\xee7x\x1d\xed\x02ߕ\x91\x9bM\xadD{\x18P\x0e\x13\xbck\x8eϗ*\xee\x86\x05ЧA\xde ș\x9e\xe0\xf1 \x84\xd8e\xba2Q׃\xfa\u007f\xfd\xe9\x10\x9c\x05\x1b\xbdC&\tI1\x8cU\xf4\xdf\x03\xc5p\xf1\xaf\fʓ-\x99Q?\xd8ɒ\xff[\xe4\xb8\xc2<\xf1\xef-\x1cX\b^\x11xo\x93\x11\xb9\x91\xb5\x1c\xdc\xdb\x13f\xdb\xd8\x01\xc6\x18\xbc\x01\xa0h\xa7\xd5\x10\x11\xa8\ro\xae\xafU\x96\xfc\xff\xec\xect&E\x1f#\x82\xe1Ӌ\xb5#\x1c\n\xfb\u0088\xe2\xbe3\xb2\xa93\xe0\xbd\xe7n\xf2\xef*)\x81\xa9\x05a\x88|B\x04\xf9\xcc+\x17\x98\x84\xed9ۂX\n\\\xdc\xc5tؼ\b\xb8,v\xf5M\xd2g-!»e\x95\x1dz\xfa\xe6z\x87\x06\x88R:\xba\xc4X\xecN\x97?(\xa4xܬˇ\x1c٘\x13\xa9\xb5\xa5\x11\n\xa9\v\n\xb9\t\xff=i>\xf9L\xcdPւ\x03U\x11-Ț\x9e\xf7>\xf9\u008c\x90\xb4\xe9o8]~\x12\xca@\xf3\xf5আZ\xb3PUi\xab\xbf\xb7spĝ\xe0\t;\u007f\x86\x1e\x8b\x97 \x13\x02\x1b\xf6\x90a\x02i\xf6\xc2\xd0\x00\x85\x80\x93Z\x17\xedx)\xec\xed$knE\xab\x00kT\x1f7]\xed\fm\xf5\x86\x00\x85P\x87\x9d\"Lf\xd8e\xa4\x17\x984\x83\xee\xac^;}\xbfD\xf4:\x83\xc6r\xfd\xe7{\x94\xb3QD\xb5^\xa5\xee\xcei\xb6\x8dK91\xa1c\xba\v\xdd͈\xc0\x06\xe0G4Zx\xd8\xe5\xee\xa3C\xccH`7X!\x16\xb3\x1b\xa2\x89\xc1\xf4\xfb\x145\x14c\x05\x1f\x8b\xd7\xf8\xf0\xa3\x9f\xf16,\x19\x17\xc6%-\xc4ܘ\x12jиQ\xadJ\x18\x8f\xa0\x9a\xa2\xafDYԆ\xfe\x9eM\xcad8]n\x06\xe5A\x1d\xbb\xde}\xfe\xa4k\r\xde\xf3\xf2\x84i\x1bO\x8c+\x1c\x89\f\xfa1P\xfcIܮ\xaa\xc5Qo\xefX\xef3$\xa5&\xaa\xa2C\xba\xe1w\v\f30\xac\x16\xd7֭\x89\x03\x18e\x94\x87\xe1)\xedv\xadR\x9b\xbb\xdf\x17#/\x9a\xae\xf6\xed\r\x983\x8fz3%6\xb9\xa4\x10C]\x1bbozh\xdd\xcb\xf7\x0f\xcc\xe0R\xe7\xc9\"\xfe\xf1u\xbdh\xc1rN\xd3{\x8d\x97\xbe)\xcb\r\x8b\xfc\xbb\xa7\xf4^\xfc5\x9c\xfc\x80\x8c\xae\xb9~\x8a\x1e]x\x02e8q\xcc!\xbd`\xa5:8gmO\x80\xa7\xcbq\xb1\x99o\xb2\xbf\xc6\xf2\x00y[`G\x97x\x9c\xf8\x14pFx\x06\xdcxW\xd9\x10E\xc2O!߮\x96\xb8\xcc\xfe\x0e\xe5@M!\xdd\xf2\xa6\xa7ơ\x86\x97k\t\xc6\u0e7bkطK,\xe0H\x16|늕\xb11S\xc9>\\ě\x0f\xb3|\xebA\x91\xda\xf5\xf2l(\x05\xd2w\x03\x86n\\)a\xa0\xce7\x84\xe9\x9e\xe4ܘrD\x1f\x8a\xfa'\xb3\r\xa6\x1a\xf5\\K\"\x13\xe4am>:u\xac\xaew\n&\xe3=(l\xf5:[\x00\xe9p\xf7@\x17\x87\x86Dk\xbd\x12e\xb6\n>\xc6+\xdf\xfcV\xa1\xc2\x19ƀu\xf1F\x84Ƞhf\x82h\xa5\xf9]2?w\x9b\x8c\x06\xc1L.\x87\xd3s&u\xab9\\\x97\xb6t\x15\\\xc1\xd8T\x8c\xbb\xb7\xaauQ\xe0nB\xac0\x80)z\xcc\x10\xc4N6Y\xc3(\x9bΨF\xe5\x17K\x1fa \xd8\x1d\x0ec\x91\x9c\xf9}]\xab\xa6\xc5\xd4\u007f\xa32Vh\x86\xdfv\xafu\xbf[\x9d\x9a\xe2߾\xa8\xc6\xd7)\xab\xe7&V\x92\x9c\xd66\a\x96\xb2\xb1\xb2\x81\x88Pu\xbd\x06\xd1j\x01)\xe6\xf2\xa2\xe2˝B\x166\xe8\a?\xd0s\t\xe2\xf6\xae\x04\xbf\xabt\xa9zh\xd3\xe2\xddg[G\xdc/ަtT\x85D\x99ܮ3\x99é_\x16\\\x9dF\x91)$\x8b\xc2\xc7W\u07bb\xfd0\xb0\x8co\xfb\xe3\xbbY=ߕ\xf7ؑ\n\\\x90\x83l\xc18\x86E<\x89\xff\x9c\x15\xa8R\x1f\x84\xecԙ\xd4<\x8b\xf4\x1b\x8a\x94\xa1o\xb8\xa7\x02w\xf8i\xc8\x00\xb73C \x98\r\x03\xb8\xc1\r\xb4\x02\xaba\xb0\xbf\v\u007f\x96\xe5P\x80sr\xe6\x95\x14\u007f+\xb1ՉZ\x82\xecVf\xba\x01%\x00ru\xb1\xa8\x0f\xa7+3\xc1\xc4\xd02\x89\xab\x82\x87\xb0bL\x02!\x90\x10<\xbe#՞\xd2=\xad\xf7\xa7\xe0\x99\x10\xa8\xa2Bq\xb8\"\xbf\xc2\xcd\xc6\u007f\xb0r\xb5iK\x9a\x90\x0e\x85r5A\xeeֺ\xdeY\x16c!\xa3'Np}ҳ\x1br0{\bՒ\x90S\xfag\xae\uf8b5Z\x98\xeed\x16뵟}\x0f\xc2^\x9d)\xcd\x15\x11\xe4\n\xe3\xccBl\x1b\xf3\xbf\x1a\x81\x9a?\xb4\xe3k\tzEK\xa5^(\x9b\x87$.\xdb\x184\xf5t\xfe;h\x92\xb4\xe5\x10\xdfi\x94a7s\x87r\x8c}\xefJD\x8a\xb4\xa3r_\xe9\x8e\xe2)7ey\xde%\xd7\xfe\xb1K_B\xb4E\x18\n6M\x86-\x84)\b\x90\x94\x85\x89d\xbb\xe4~\xd5\x16q\xc8\xf3\x1at\x92cS\b\tm\xeb\x13\x91\vH\xf6\x98ҫ\xfc\x92\xa6\xaa\x86\xfeK\x87\xa2\x96o\xa2\x8b\xef\v\xd7l\a1\x9e*ސ\x15X\bH\x06\x81\xb5\xddg\xfc\x16:\x1b\x98\x82@\xe6\x10\xbc\x05\x88y\xcd1\xdf\xf1\xb8a緾\xf3k\x93\xae\x8cs\xcc\x1f\xf0\xacG<\xa1\f\xbe\xde\"f\x90{\xd3\x05˄\xdd?U#\xb74\xea\xfa\x83\x176QF\xf8yʮ\xbaI\x1bV\x95m錛z\xeb\xb9\a\x80\x0f\xb8\xab\xbf|VŇc\xea\x9d\xe0\x95#8H\xcbF\xa7\xaa\xed\xed\xae\xd2,\xca\xd2Ҹn\x02_\x03\xe0\xc9@:\xa4v\xd7~\x807\x9bR-\xfeL<\xack\xecu,Rw\xbb\xb29\x04\x98\x98\xa5\xc7\"h^\xb0\xf0@\x8e\x84\x9f\xee\xc3\xe2\x0fܬ\xad\xb06Z۩A:\x1f\xfbk\xa9M\x83-\u007f\xaf\xb2\xd4\x11\x96\x87\x98\xe9\x8b\x05\xb0\xf7G\xa4˸\xf1\xe2\x83d%P\xc8|~s\xffs\x17\x1bJѧ\xa4\x1c\xff\x86\xc2P\x04\xaf\xbdڸFH~\xf6њY\\\xd3>\xcf\b\xe6\xf4\x16\xf7\xea\x14g\n---------- end of script output" +time="2023-07-27T20:13:27Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" +time="2023-07-27T20:13:30Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" +time="2023-07-27T20:13:32Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Enter_66': 21: exit status 21" +time="2023-07-27T20:13:33Z" level=info msg="statescript: ArtifactInstall_Enter_67 requested a retry" +time="2023-07-27T20:13:35Z" 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.05s) === RUN TestVersion --- PASS: TestVersion (0.00s) === RUN TestReportScriptStatus -time="2023-07-27T20:04:29Z" level=error msg="Failed to Load the Server certificate. Err SSL errors: " -time="2023-07-27T20:04:29Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: " -time="2023-07-27T20:04:29Z" level=warning msg="certificate verification skipped.." ---- PASS: TestReportScriptStatus (0.55s) +time="2023-07-27T20:13:35Z" level=error msg="Failed to Load the Server certificate. Err SSL errors: " +time="2023-07-27T20:13:35Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: " +time="2023-07-27T20:13:35Z" level=warning msg="certificate verification skipped.." +--- PASS: TestReportScriptStatus (0.10s) === RUN TestDefaultConfiguration -time="2023-07-27T20:04:29Z" level=warning msg="No timeout interval set for the retry-scripts. Falling back to default: 1m0s" -time="2023-07-27T20:04:29Z" level=warning msg="No total time set for the retry-scripts' timeslot. Falling back to default: 30m0s" +time="2023-07-27T20:13:35Z" level=warning msg="No timeout interval set for the retry-scripts. Falling back to default: 1m0s" +time="2023-07-27T20:13:35Z" level=warning msg="No total time set for the retry-scripts' timeslot. Falling back to default: 30m0s" --- PASS: TestDefaultConfiguration (0.00s) === RUN TestReadVersion + statescript_test.go:475: correct version file - no newline statescript_test.go:475: correct version file - newline statescript_test.go:475: incorrect version file - unwanted 'a' in file - statescript_test.go:475: correct version file - no newline --- PASS: TestReadVersion (0.00s) PASS -ok github.com/mendersoftware/mender/statescript 11.099s +ok github.com/mendersoftware/mender/statescript 10.164s === RUN TestDBStore -time="2023-07-27T20:04:15Z" level=error msg="Failed to open DB environment: mdb_env_open: no such file or directory" ---- PASS: TestDBStore (0.01s) +time="2023-07-27T20:13:24Z" 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="2023-07-27T20:04:15Z" level=error msg="Failed to load key: empty pem block" ---- PASS: TestKeystore (2.54s) +time="2023-07-27T20:13:24Z" level=error msg="Failed to load key: empty pem block" +--- PASS: TestKeystore (0.06s) === 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.641s +ok github.com/mendersoftware/mender/store 0.083s === RUN TestGetMountInfoFromDeviceID === RUN TestGetMountInfoFromDeviceID/Success === RUN TestGetMountInfoFromDeviceID/Fail_-_open_returns_error @@ -16550,7 +19168,7 @@ === RUN TestFreezeFs --- PASS: TestFreezeFs (0.00s) PASS -ok github.com/mendersoftware/mender/system 0.062s +ok github.com/mendersoftware/mender/system 0.007s ? github.com/mendersoftware/mender/system/testing [no test files] ? github.com/mendersoftware/mender/tests [no test files] === RUN TestKeyValParser @@ -16561,11 +19179,11 @@ === RUN TestLimitedWriteCloser --- PASS: TestLimitedWriteCloser (0.00s) === RUN TestProgress ---- PASS: TestProgress (2.49s) +--- PASS: TestProgress (0.51s) PASS -ok github.com/mendersoftware/mender/utils 2.521s +ok github.com/mendersoftware/mender/utils 0.522s FAIL -dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 15 github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils returned exit code 1 +dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 16 github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils returned exit code 1 make[1]: Leaving directory '/build/mender-client-2.4.1' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary @@ -16601,8 +19219,8 @@ dh_gencontrol -O--buildsystem=golang dh_md5sums -O--buildsystem=golang dh_builddeb -O--buildsystem=golang -dpkg-deb: building package 'mender-client-dbgsym' in '../mender-client-dbgsym_2.4.1-2_amd64.deb'. dpkg-deb: building package 'mender-client' in '../mender-client_2.4.1-2_amd64.deb'. +dpkg-deb: building package 'mender-client-dbgsym' in '../mender-client-dbgsym_2.4.1-2_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../mender-client_2.4.1-2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -16610,12 +19228,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/3338828/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3338828/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/1795511 and its subdirectories -I: Current time: Thu Jul 27 08:11:15 -12 2023 -I: pbuilder-time-stamp: 1690488675 +I: removing directory /srv/workspace/pbuilder/3338828 and its subdirectories +I: Current time: Fri Jul 28 10:17:05 +14 2023 +I: pbuilder-time-stamp: 1690489025